1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-21 00:45:18 +00:00

Can update new user information fields

This commit is contained in:
2021-04-16 15:06:07 +02:00
parent b5d2410413
commit 2f931ff026
5 changed files with 13 additions and 1 deletions

View File

@ -231,9 +231,11 @@ pub fn set_general(settings: &GeneralSettings) -> ResultBoxError {
.set_legacy_bool("autoriser_post_amis", settings.allow_posts_from_friends)
.set_legacy_bool("autorise_mail", settings.allow_mails)
.set_legacy_bool("liste_amis_publique", settings.friends_list_public)
.set_legacy_bool("is_email_public", settings.email_public)
.set_opt_str("sous_repertoire", settings.virtual_directory.clone())
.set_opt_str("site_web", settings.personal_website.clone())
.set_opt_str("public_note", settings.public_note.clone())
.set_opt_str("location", settings.location.clone())
.exec()
}