summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/activitypub.c b/activitypub.c
index 8998acd..6bd4b65 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -927,13 +927,6 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
927 if (!xs_is_null(bot) && !xs_is_null(chat_id) && *bot && *chat_id) 927 if (!xs_is_null(bot) && !xs_is_null(chat_id) && *bot && *chat_id)
928 enqueue_telegram(body, bot, chat_id); 928 enqueue_telegram(body, bot, chat_id);
929 929
930 /* finally, store it in the notification folder */
931 if (strcmp(type, "Follow") == 0)
932 objid = id;
933 else
934 if (strcmp(utype, "Follow") == 0)
935 objid = actor;
936
937 /* ntfy */ 930 /* ntfy */
938 const char *ntfy_server = xs_dict_get(snac->config, "ntfy_server"); 931 const char *ntfy_server = xs_dict_get(snac->config, "ntfy_server");
939 const char *ntfy_token = xs_dict_get(snac->config, "ntfy_token"); 932 const char *ntfy_token = xs_dict_get(snac->config, "ntfy_token");