diff options
Diffstat (limited to 'route/util.go')
-rw-r--r-- | route/util.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/route/util.go b/route/util.go index 5a7d57c..7a50822 100644 --- a/route/util.go +++ b/route/util.go @@ -172,6 +172,14 @@ func ParseOutboxRequest(ctx *fiber.Ctx, actor activitypub.Actor) error { } }(nObj) + go func(obj activitypub.ObjectBase) { + err := obj.SendEmailNotify() + + if err != nil { + config.Log.Println(err) + } + }(nObj) + var id string op := len(nObj.InReplyTo) - 1 if op >= 0 { |