summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c5
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)
178 } 178 }
179 } 179 }
180 } 180 }
181 else
182 if (xs_type(actor) == XSTYPE_DICT) {
183 /* bandwagon.fm returns this */
184 actor = xs_dict_get(actor, "id");
185 }
181 186
182 return actor; 187 return actor;
183} 188}