From a050be91079e5c65589d57e9e00421345d113ac9 Mon Sep 17 00:00:00 2001 From: default Date: Fri, 14 Apr 2023 13:05:36 +0200 Subject: Don't show the full tree in notifications. --- activitypub.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index 851699a..bf9ce67 100644 --- a/activitypub.c +++ b/activitypub.c @@ -937,6 +937,9 @@ void notify(snac *snac, xs_str *type, xs_str *utype, xs_str *actor, xs_dict *msg enqueue_telegram(body, bot, chat_id); /* finally, store it in the notification folder */ + if (strcmp(type, "Follow") == 0) + objid = xs_dict_get(msg, "id"); + notify_add(snac, type, utype, actor, objid); } -- cgit v1.2.3