commit 9b134e9
grunfink
·
2025-06-18 07:00:09 +0000 UTC
parent 0155c79
Added 'alias' and 'alias_raw' as forced update in user_persist().
1 files changed,
+2,
-1
M
data.c
M
data.c
+2,
-1
1@@ -333,6 +333,7 @@ int user_open_by_md5(snac *snac, const char *md5)
2 return 0;
3 }
4
5+
6 int user_persist(snac *snac, int publish)
7 /* store user */
8 {
9@@ -348,7 +349,7 @@ int user_persist(snac *snac, int publish)
10
11 if (old != NULL) {
12 int nw = 0;
13- const char *fields[] = { "header", "avatar", "name", "bio",
14+ const char *fields[] = { "header", "avatar", "name", "bio", "alias", "alias_raw",
15 "metadata", "latitude", "longitude", NULL };
16
17 for (int n = 0; fields[n]; n++) {