diff options
| author | 2024-03-11 08:27:37 +0100 | |
|---|---|---|
| committer | 2024-03-11 08:27:37 +0100 | |
| commit | bb28b1c090b991093ce0640de6b739946589368a (patch) | |
| tree | db385907339f478e9cabd75a520b20144531a899 /activitypub.c | |
| parent | New function content_check(). (diff) | |
| download | snac2-bb28b1c090b991093ce0640de6b739946589368a.tar.gz snac2-bb28b1c090b991093ce0640de6b739946589368a.tar.xz snac2-bb28b1c090b991093ce0640de6b739946589368a.zip | |
Also accept Article objects.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 22a12fa..e2a40c8 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1912,7 +1912,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req) | |||
| 1912 | return 1; | 1912 | return 1; |
| 1913 | } | 1913 | } |
| 1914 | 1914 | ||
| 1915 | if (strcmp(utype, "Note") == 0) { /** **/ | 1915 | if (xs_match(utype, "Note|Article")) { /** **/ |
| 1916 | char *id = xs_dict_get(object, "id"); | 1916 | char *id = xs_dict_get(object, "id"); |
| 1917 | char *in_reply_to = xs_dict_get(object, "inReplyTo"); | 1917 | char *in_reply_to = xs_dict_get(object, "inReplyTo"); |
| 1918 | xs *wrk = NULL; | 1918 | xs *wrk = NULL; |