Also accept Update + Service messages.

This commit is contained in:
default 2023-06-04 10:49:02 +02:00
parent 0d817340e2
commit 85011994e1

View file

@ -1445,7 +1445,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
} }
else else
if (strcmp(type, "Update") == 0) { /** **/ if (strcmp(type, "Update") == 0) { /** **/
if (strcmp(utype, "Person") == 0) { if (strcmp(utype, "Person") == 0 || strcmp(utype, "Service") == 0) {
actor_add(actor, xs_dict_get(msg, "object")); actor_add(actor, xs_dict_get(msg, "object"));
timeline_touch(snac); timeline_touch(snac);