diff options
| author | 2025-01-12 05:29:09 +0100 | |
|---|---|---|
| committer | 2025-01-12 05:29:09 +0100 | |
| commit | 1ac3f65e0a0ef2aebf2b88dacfd202b4b649ac65 (patch) | |
| tree | a90f3cfff63fe90fc064d111005ac5f5e37dd8c7 /activitypub.c | |
| parent | mastoapi: obey the "unlisted" visibility set by apps. (diff) | |
| download | penes-snac2-1ac3f65e0a0ef2aebf2b88dacfd202b4b649ac65.tar.gz penes-snac2-1ac3f65e0a0ef2aebf2b88dacfd202b4b649ac65.tar.xz penes-snac2-1ac3f65e0a0ef2aebf2b88dacfd202b4b649ac65.zip | |
Renamed msg_place() to msg_actor_place().
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 4 |
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 | ||
| 1187 | xs_dict *msg_place(snac *user, const char *label) | 1187 | xs_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 | ||