commit 5b1e771
default
·
2024-06-17 12:57:05 +0000 UTC
parent d7f2a91
Deleted repeated code.
1 files changed,
+0,
-7
+0,
-7
1@@ -927,13 +927,6 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
2 if (!xs_is_null(bot) && !xs_is_null(chat_id) && *bot && *chat_id)
3 enqueue_telegram(body, bot, chat_id);
4
5- /* finally, store it in the notification folder */
6- if (strcmp(type, "Follow") == 0)
7- objid = id;
8- else
9- if (strcmp(utype, "Follow") == 0)
10- objid = actor;
11-
12 /* ntfy */
13 const char *ntfy_server = xs_dict_get(snac->config, "ntfy_server");
14 const char *ntfy_token = xs_dict_get(snac->config, "ntfy_token");