diff options
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 650 | return; | 650 | return; |
| 651 | 651 | ||
| 652 | if (strcmp(type, "Like") == 0 || strcmp(type, "Announce") == 0) { | 652 | if (strcmp(type, "Like") == 0 || strcmp(type, "Announce") == 0) { |
| 653 | object = xs_str_get(msg, "object"); | 653 | object = xs_dict_get(msg, "object"); |
| 654 | 654 | ||
| 655 | if (xs_is_null(object)) | 655 | if (xs_is_null(object)) |
| 656 | return; | 656 | return; |