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)
256 char *object, *utype; 256 char *object, *utype;
257 257
258 object = xs_dict_get(msg, "object"); 258 object = xs_dict_get(msg, "object");
259 if (object != NULL && xs_type(object) == XSTYPE_SOD) 259 if (object != NULL && xs_type(object) == XSTYPE_DICT)
260 utype = xs_dict_get(object, "type"); 260 utype = xs_dict_get(object, "type");
261 else 261 else
262 utype = "(null)"; 262 utype = "(null)";