commit 6c2ca0d

default  ·  2023-05-30 16:51:53 +0000 UTC
parent 45b1907
Don't store votes in the notification area.
1 files changed,  +4, -0
+4, -0
 1@@ -495,6 +495,10 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
 2 
 3         if (xs_list_in(rcpts, snac->actor) == -1)
 4             return;
 5+
 6+        /* discard votes */
 7+        if (!xs_is_null(xs_dict_get(msg, "name")))
 8+            return;
 9     }
10 
11     if (strcmp(type, "Undo") == 0 && strcmp(utype, "Follow") != 0)