commit d021162

grunfink  ·  2024-01-13 13:53:40 +0000 UTC
parents 6c55658, 6890a15
Merge pull request 'Fixed a bug introduced yesterday that caused double notifications' (#103) from draga79/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/103
1 files changed,  +0, -2
+0, -2
1@@ -799,8 +799,6 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
2     if (strcmp(utype, "Follow") == 0)
3         objid = actor;
4 
5-    notify_add(snac, type, utype, actor, objid != NULL ? objid : id);
6-
7     /* ntfy */
8     char *ntfy_server = xs_dict_get(snac->config, "ntfy_server");
9     char *ntfy_token  = xs_dict_get(snac->config, "ntfy_token");