This commit is contained in:
lesion
2019-08-02 13:43:28 +02:00
parent 5b013829fe
commit 40f7ffa99e
16 changed files with 183 additions and 51 deletions

View File

@@ -122,7 +122,9 @@ const userController = {
// send response to client
res.json(event)
federation.sendEvent(event, req.user)
if (req.user)
federation.sendEvent(event, req.user)
res.json(200)
// send notification (mastodon/email/confirmation)