|
@@ -467,13 +467,13 @@ int is_msg_for_me(snac *snac, const xs_dict *c_msg)
|
|
|
return following_check(snac, xs_dict_get(c_msg, "actor"));
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- if (strcmp(type, "Undo") == 0) {
|
|
|
+
|
|
|
+ if (xs_match(type, "Undo|Update")) {
|
|
|
return following_check(snac, xs_dict_get(c_msg, "actor"));
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- if (!xs_match(type, "Create|Update")) {
|
|
|
+
|
|
|
+ if (!xs_match(type, "Create")) {
|
|
|
return 1;
|
|
|
}
|
|
|
|