diff options
author | default <nobody@localhost> | 2024-05-31 17:51:33 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-05-31 17:51:33 +0200 |
commit | 6d29cfd63d744d91fa549bbd89ed2bf51c0c4760 (patch) | |
tree | 631c6bb402a76823bbc5f4c22afdefe5463fc9af /mastoapi.c | |
parent | fb3bda700caae47f2cb45e8f4a47f4538e8f65ed (diff) |
Don't propagate the user change after dismissing the announcement.
Diffstat (limited to 'mastoapi.c')
-rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3319,7 +3319,7 @@ int mastoapi_patch_handler(const xs_dict *req, const char *q_path, } /* Persist profile */ - if (user_persist(&snac) == 0) + if (user_persist(&snac, 1) == 0) credentials_get(body, ctype, &status, snac); else status = HTTP_STATUS_INTERNAL_SERVER_ERROR; |