diff options
Diffstat (limited to '')
| -rw-r--r-- | activitypub.c | 5 | ||||
| -rw-r--r-- | snac.h | 2 |
2 files changed, 6 insertions, 1 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 | } |
| @@ -32,7 +32,7 @@ extern int dbglevel; | |||
| 32 | 32 | ||
| 33 | #define L(s) (s) | 33 | #define L(s) (s) |
| 34 | 34 | ||
| 35 | #define POSTLIKE_OBJECT_TYPE "Note|Question|Page|Article|Video|Event" | 35 | #define POSTLIKE_OBJECT_TYPE "Note|Question|Page|Article|Video|Audio|Event" |
| 36 | 36 | ||
| 37 | int mkdirx(const char *pathname); | 37 | int mkdirx(const char *pathname); |
| 38 | 38 | ||