mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Also accept Update + Service messages.
This commit is contained in:
parent
0d817340e2
commit
85011994e1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue