aboutsummaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-01-10 08:00:18 +0100
committerdefault <nobody@localhost>2025-01-10 08:00:18 +0100
commited729878a6d411038b6dabfc81980c3a193efb97 (patch)
tree69eba476563ac35722aa340d453f80df6e36ef77 /data.c
parentaab32743c150a62648cd620da05d4388747c6253 (diff)
New user settings latitude and longitude.
Diffstat (limited to 'data.c')
-rw-r--r--data.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/data.c b/data.c
index 3463727..ca63084 100644
--- a/data.c
+++ b/data.c
@@ -319,7 +319,8 @@ int user_persist(snac *snac, int publish)
if (old != NULL) {
int nw = 0;
- const char *fields[] = { "header", "avatar", "name", "bio", "metadata", NULL };
+ const char *fields[] = { "header", "avatar", "name", "bio",
+ "metadata", "latitude", "longitude", NULL };
for (int n = 0; fields[n]; n++) {
const char *of = xs_dict_get(old, fields[n]);