summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2025-01-10 08:34:48 +0100
committerGravatar default2025-01-10 08:34:48 +0100
commitef7c257c5c2fb8e696ea3bcdd279d46e09e5b20d (patch)
tree0dcd14b6e39a63f1ba937caab241587cc99c0d4e /activitypub.c
parentIf a location is defined, user actors include a 'Place' object. (diff)
downloadsnac2-ef7c257c5c2fb8e696ea3bcdd279d46e09e5b20d.tar.gz
snac2-ef7c257c5c2fb8e696ea3bcdd279d46e09e5b20d.tar.xz
snac2-ef7c257c5c2fb8e696ea3bcdd279d46e09e5b20d.zip
Fixed crash in msg_place() because I'm a moron.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
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)
1187xs_dict *msg_place(snac *user, const char *label) 1187xs_dict *msg_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 *place = NULL; 1190 xs_dict *place = NULL;
1191 const char *latitude = xs_dict_get_def(user->config, "latitude", ""); 1191 const char *latitude = xs_dict_get_def(user->config, "latitude", "");
1192 const char *longitude = xs_dict_get_def(user->config, "longitude", ""); 1192 const char *longitude = xs_dict_get_def(user->config, "longitude", "");
1193 1193