commit ef7c257c5c2fb8e696ea3bcdd279d46e09e5b20d
parent 538f6970f86323dca734436861fe19193fae87e5
Author: default <nobody@localhost>
Date: Fri, 10 Jan 2025 08:34:48 +0100
Fixed crash in msg_place() because I'm a moron.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/activitypub.c b/activitypub.c
@@ -1187,7 +1187,7 @@ xs_dict *msg_repulsion(snac *user, const char *id, const char *type)
xs_dict *msg_place(snac *user, const char *label)
/* creates a Place object, if the user has a location defined */
{
- xs *place = NULL;
+ xs_dict *place = NULL;
const char *latitude = xs_dict_get_def(user->config, "latitude", "");
const char *longitude = xs_dict_get_def(user->config, "longitude", "");