From ef7c257c5c2fb8e696ea3bcdd279d46e09e5b20d Mon Sep 17 00:00:00 2001 From: default Date: Fri, 10 Jan 2025 08:34:48 +0100 Subject: Fixed crash in msg_place() because I'm a moron. --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitypub.c b/activitypub.c index 3bd6220..4966482 100644 --- 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", ""); -- cgit v1.2.3