summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--activitypub.c5
-rw-r--r--snac.h2
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}
diff --git a/snac.h b/snac.h
index af6e597..b56761e 100644
--- a/snac.h
+++ b/snac.h
@@ -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
37int mkdirx(const char *pathname); 37int mkdirx(const char *pathname);
38 38