parent
18d3456a23
commit
f5d21c8c1a
|
@ -152,9 +152,8 @@ func handleImport(app *App, u *User, w http.ResponseWriter, r *http.Request) err
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// create public post
|
// Federate post, if necessary
|
||||||
|
if app.cfg.App.Federation && coll.ID > 0 {
|
||||||
if coll.ID != 0 && app.cfg.App.Federation {
|
|
||||||
go federatePost(
|
go federatePost(
|
||||||
app,
|
app,
|
||||||
&PublicPost{
|
&PublicPost{
|
||||||
|
|
Loading…
Reference in New Issue