mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 01:03:37 +00:00
Deleted repeated code.
This commit is contained in:
parent
d7f2a91161
commit
5b1e771184
1 changed files with 0 additions and 7 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue