summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--activitypub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c
index 369423d..862f943 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1184,7 +1184,7 @@ xs_dict *msg_repulsion(snac *user, const char *id, const char *type)
1184} 1184}
1185 1185
1186 1186
1187xs_dict *msg_place(snac *user, const char *label) 1187xs_dict *msg_actor_place(snac *user, const char *label)
1188/* creates a Place object, if the user has a location defined */ 1188/* creates a Place object, if the user has a location defined */
1189{ 1189{
1190 xs_dict *place = NULL; 1190 xs_dict *place = NULL;
@@ -1363,7 +1363,7 @@ xs_dict *msg_actor(snac *snac)
1363 xs_stock(xs_is_true(manually) ? XSTYPE_TRUE : XSTYPE_FALSE)); 1363 xs_stock(xs_is_true(manually) ? XSTYPE_TRUE : XSTYPE_FALSE));
1364 1364
1365 /* if there are location coords, create a Place object */ 1365 /* if there are location coords, create a Place object */
1366 xs *location = msg_place(snac, "Home"); 1366 xs *location = msg_actor_place(snac, "Home");
1367 if (xs_type(location) == XSTYPE_DICT) 1367 if (xs_type(location) == XSTYPE_DICT)
1368 msg = xs_dict_set(msg, "location", location); 1368 msg = xs_dict_set(msg, "location", location);
1369 1369