summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index ce72f3f..de7de6a 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -686,7 +686,7 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
enqueue_telegram(body, bot, chat_id);
/* finally, store it in the notification folder */
- if (strcmp(type, "Follow") == 0)
+ if (strcmp(type, "Follow") == 0 || strcmp(utype, "Follow") == 0)
objid = id;
notify_add(snac, type, utype, actor, objid != NULL ? objid : id);