mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 05:15:04 +00:00
Don't store votes in the notification area.
This commit is contained in:
parent
45b190766d
commit
6c2ca0d40a
1 changed files with 4 additions and 0 deletions
|
@ -495,6 +495,10 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
|
|||
|
||||
if (xs_list_in(rcpts, snac->actor) == -1)
|
||||
return;
|
||||
|
||||
/* discard votes */
|
||||
if (!xs_is_null(xs_dict_get(msg, "name")))
|
||||
return;
|
||||
}
|
||||
|
||||
if (strcmp(type, "Undo") == 0 && strcmp(utype, "Follow") != 0)
|
||||
|
|
Loading…
Reference in a new issue