diff options
| author | 2025-01-10 08:34:48 +0100 | |
|---|---|---|
| committer | 2025-01-10 08:34:48 +0100 | |
| commit | ef7c257c5c2fb8e696ea3bcdd279d46e09e5b20d (patch) | |
| tree | 0dcd14b6e39a63f1ba937caab241587cc99c0d4e /activitypub.c | |
| parent | If a location is defined, user actors include a 'Place' object. (diff) | |
| download | penes-snac2-ef7c257c5c2fb8e696ea3bcdd279d46e09e5b20d.tar.gz penes-snac2-ef7c257c5c2fb8e696ea3bcdd279d46e09e5b20d.tar.xz penes-snac2-ef7c257c5c2fb8e696ea3bcdd279d46e09e5b20d.zip | |
Fixed crash in msg_place() because I'm a moron.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
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) | |||
| 1187 | xs_dict *msg_place(snac *user, const char *label) | 1187 | xs_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 | ||