diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c index 792080d..851699a 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -935,6 +935,9 @@ void notify(snac *snac, xs_str *type, xs_str *utype, xs_str *actor, xs_dict *msg | |||
| 935 | 935 | ||
| 936 | if (!xs_is_null(bot) && !xs_is_null(chat_id) && *bot && *chat_id) | 936 | if (!xs_is_null(bot) && !xs_is_null(chat_id) && *bot && *chat_id) |
| 937 | enqueue_telegram(body, bot, chat_id); | 937 | enqueue_telegram(body, bot, chat_id); |
| 938 | |||
| 939 | /* finally, store it in the notification folder */ | ||
| 940 | notify_add(snac, type, utype, actor, objid); | ||
| 938 | } | 941 | } |
| 939 | 942 | ||
| 940 | 943 | ||