summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-06-17 14:57:05 +0200
committerdefault <nobody@localhost>2024-06-17 14:57:05 +0200
commit5b1e77118420bf680a55116b940475d56fbe0cea (patch)
tree54406aa25d1a6d2d3a3f43d338808389540f812b /activitypub.c
parentd7f2a91161cf128b7b3363d9971decb491852618 (diff)
Deleted repeated code.
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,
if (!xs_is_null(bot) && !xs_is_null(chat_id) && *bot && *chat_id)
enqueue_telegram(body, bot, chat_id);
- /* finally, store it in the notification folder */
- if (strcmp(type, "Follow") == 0)
- objid = id;
- else
- if (strcmp(utype, "Follow") == 0)
- objid = actor;
-
/* ntfy */
const char *ntfy_server = xs_dict_get(snac->config, "ntfy_server");
const char *ntfy_token = xs_dict_get(snac->config, "ntfy_token");