aboutsummaryrefslogtreecommitdiff
path: root/activitypub/actor.go
diff options
context:
space:
mode:
authorFChannel <>2022-06-19 01:39:41 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commit0a8c71360230f0439257d56d77a0755bfc030b06 (patch)
tree76e09318aaf71e2e4b90aa538f0ac774b73eb355 /activitypub/actor.go
parent25829d2d0e379c323b8f2ae6e7c2aad7548f0a30 (diff)
new line for cookiekey in config-init
Diffstat (limited to 'activitypub/actor.go')
-rw-r--r--activitypub/actor.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/activitypub/actor.go b/activitypub/actor.go
index 4142685..540d159 100644
--- a/activitypub/actor.go
+++ b/activitypub/actor.go
@@ -1221,6 +1221,16 @@ func (actor Actor) ProcessInboxCreate(activity Activity) error {
if err := actor.ArchivePosts(); err != nil {
return util.MakeError(err, "ActorInbox")
}
+
+ activity.Object.Actor = actor.Id
+
+ go func(obj ObjectBase) {
+ err := obj.SendEmailNotify()
+
+ if err != nil {
+ config.Log.Println(err)
+ }
+ }(activity.Object)
}
}