diff options
author | grunfink <grunfink@noreply.codeberg.org> | 2024-01-13 13:53:40 +0000 |
---|---|---|
committer | grunfink <grunfink@noreply.codeberg.org> | 2024-01-13 13:53:40 +0000 |
commit | d02116297883d2ff15d7ea58810e915a956a6928 (patch) | |
tree | 030e9f864e04690bb44343588763e1b0f0bb5103 | |
parent | 6c556581e0d7137cd230b4569a0a833e9dae4e81 (diff) | |
parent | 6890a15787d76d8d78f010331e2bcddeb981f8e9 (diff) |
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
-rw-r--r-- | activitypub.c | 2 |
1 files changed, 0 insertions, 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"); |