Reorder federation check logic on upload

Ref T609
pull/172/head
Matt Baer 5 years ago
parent 18d3456a23
commit f5d21c8c1a
  1. 5
      account_import.go

@ -152,9 +152,8 @@ func handleImport(app *App, u *User, w http.ResponseWriter, r *http.Request) err
continue
}
// create public post
if coll.ID != 0 && app.cfg.App.Federation {
// Federate post, if necessary
if app.cfg.App.Federation && coll.ID > 0 {
go federatePost(
app,
&PublicPost{

Loading…
Cancel
Save