diff --git a/activitypub.c b/activitypub.c index f12aa47..24bf04e 100644 --- a/activitypub.c +++ b/activitypub.c @@ -650,7 +650,7 @@ void notify(snac *snac, char *type, char *utype, char *actor, char *msg) return; if (strcmp(type, "Like") == 0 || strcmp(type, "Announce") == 0) { - object = xs_str_get(msg, "object"); + object = xs_dict_get(msg, "object"); if (xs_is_null(object)) return;