mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Also accept Article objects.
This commit is contained in:
parent
60c2a50ed9
commit
bb28b1c090
1 changed files with 1 additions and 1 deletions
|
@ -1912,7 +1912,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (strcmp(utype, "Note") == 0) { /** **/
|
||||
if (xs_match(utype, "Note|Article")) { /** **/
|
||||
char *id = xs_dict_get(object, "id");
|
||||
char *in_reply_to = xs_dict_get(object, "inReplyTo");
|
||||
xs *wrk = NULL;
|
||||
|
|
Loading…
Reference in a new issue