From 6890a15787d76d8d78f010331e2bcddeb981f8e9 Mon Sep 17 00:00:00 2001 From: Stefano Marinelli Date: Sat, 13 Jan 2024 13:21:53 +0100 Subject: [PATCH] Fixed a bug introduced yesterday that cause double notifications --- activitypub.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/activitypub.c b/activitypub.c index 566c240..57a5680 100644 --- a/activitypub.c +++ b/activitypub.c @@ -799,8 +799,6 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor, if (strcmp(utype, "Follow") == 0) objid = actor; - notify_add(snac, type, utype, actor, objid != NULL ? objid : id); - /* ntfy */ char *ntfy_server = xs_dict_get(snac->config, "ntfy_server"); char *ntfy_token = xs_dict_get(snac->config, "ntfy_token");