mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 09:13:38 +00:00
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
This commit is contained in:
commit
d021162978
1 changed files with 0 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue