summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2023-07-04 14:07:33 +0200
committerGravatar default2023-07-04 14:07:33 +0200
commit7db4de872d043593b63de09cea27bd350e3e5f58 (patch)
treef0856a1414433d3ec5ef63485312d1b2ac669371 /activitypub.c
parentBackport from xs. (diff)
downloadsnac2-7db4de872d043593b63de09cea27bd350e3e5f58.tar.gz
snac2-7db4de872d043593b63de09cea27bd350e3e5f58.tar.xz
snac2-7db4de872d043593b63de09cea27bd350e3e5f58.zip
Also show unfollows in the notification area.
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,
686 enqueue_telegram(body, bot, chat_id); 686 enqueue_telegram(body, bot, chat_id);
687 687
688 /* finally, store it in the notification folder */ 688 /* finally, store it in the notification folder */
689 if (strcmp(type, "Follow") == 0) 689 if (strcmp(type, "Follow") == 0 || strcmp(utype, "Follow") == 0)
690 objid = id; 690 objid = id;
691 691
692 notify_add(snac, type, utype, actor, objid != NULL ? objid : id); 692 notify_add(snac, type, utype, actor, objid != NULL ? objid : id);