snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 1ac3f65e0a0ef2aebf2b88dacfd202b4b649ac65
parent 9d4d740220c79e13d2c1f95ba91405f24c90b287
Author: default <nobody@localhost>
Date:   Sun, 12 Jan 2025 05:29:09 +0100

Renamed msg_place() to msg_actor_place().

Diffstat:
Mactivitypub.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/activitypub.c b/activitypub.c @@ -1184,7 +1184,7 @@ xs_dict *msg_repulsion(snac *user, const char *id, const char *type) } -xs_dict *msg_place(snac *user, const char *label) +xs_dict *msg_actor_place(snac *user, const char *label) /* creates a Place object, if the user has a location defined */ { xs_dict *place = NULL; @@ -1363,7 +1363,7 @@ xs_dict *msg_actor(snac *snac) xs_stock(xs_is_true(manually) ? XSTYPE_TRUE : XSTYPE_FALSE)); /* if there are location coords, create a Place object */ - xs *location = msg_place(snac, "Home"); + xs *location = msg_actor_place(snac, "Home"); if (xs_type(location) == XSTYPE_DICT) msg = xs_dict_set(msg, "location", location);