commit bb28b1c

default  ·  2024-03-11 07:27:37 +0000 UTC
parent 60c2a50
Also accept Article objects.
1 files changed,  +1, -1
+1, -1
1@@ -1912,7 +1912,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
2             return 1;
3         }
4 
5-        if (strcmp(utype, "Note") == 0) { /** **/
6+        if (xs_match(utype, "Note|Article")) { /** **/
7             char *id          = xs_dict_get(object, "id");
8             char *in_reply_to = xs_dict_get(object, "inReplyTo");
9             xs *wrk           = NULL;