diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c index 34cc32f..88d8fd8 100644 --- a/activitypub.c +++ b/activitypub.c @@ -178,6 +178,11 @@ const char *get_atto(const xs_dict *msg) } } } + else + if (xs_type(actor) == XSTYPE_DICT) { + /* bandwagon.fm returns this */ + actor = xs_dict_get(actor, "id"); + } return actor; } |