summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index 39fcdfe..8a02d7e 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -256,7 +256,7 @@ void process_message(snac *snac, char *msg, char *req)
char *object, *utype;
object = xs_dict_get(msg, "object");
- if (object != NULL && xs_type(object) == XSTYPE_SOD)
+ if (object != NULL && xs_type(object) == XSTYPE_DICT)
utype = xs_dict_get(object, "type");
else
utype = "(null)";