diff options
Diffstat (limited to '')
| -rw-r--r-- | data.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -333,6 +333,7 @@ int user_open_by_md5(snac *snac, const char *md5) | |||
| 333 | return 0; | 333 | return 0; |
| 334 | } | 334 | } |
| 335 | 335 | ||
| 336 | |||
| 336 | int user_persist(snac *snac, int publish) | 337 | int user_persist(snac *snac, int publish) |
| 337 | /* store user */ | 338 | /* store user */ |
| 338 | { | 339 | { |
| @@ -348,7 +349,7 @@ int user_persist(snac *snac, int publish) | |||
| 348 | 349 | ||
| 349 | if (old != NULL) { | 350 | if (old != NULL) { |
| 350 | int nw = 0; | 351 | int nw = 0; |
| 351 | const char *fields[] = { "header", "avatar", "name", "bio", | 352 | const char *fields[] = { "header", "avatar", "name", "bio", "alias", "alias_raw", |
| 352 | "metadata", "latitude", "longitude", NULL }; | 353 | "metadata", "latitude", "longitude", NULL }; |
| 353 | 354 | ||
| 354 | for (int n = 0; fields[n]; n++) { | 355 | for (int n = 0; fields[n]; n++) { |