Skip to content
Snippets Groups Projects
Commit f5743da2 authored by Andreas Hatziiliou's avatar Andreas Hatziiliou Committed by François-Simon Fauteux-Chapleau
Browse files

username: fix multiple usernames associated to one account

Added logic check to prevent disabled accounts from registering
multiple usernames after being restored from an archive.

https://git.jami.net/savoirfairelinux/jami-client-android/-/issues/1765

Change-Id: I58e3e018c85e335f043f232e391286e716201481
parent 7152b515
Branches
Tags
No related merge requests found
......@@ -151,7 +151,7 @@ Item {
JamiIdControlButton {
id: btnEdit
anchors.leftMargin: JamiTheme.pushButtonMargins
visible: CurrentAccount.registeredName === ""
visible: CurrentAccount.registeredName === "" && CurrentAccount.enabled
imageColor: enabled ? JamiTheme.tintedBlue : JamiTheme.buttonTintedBlack
border.color: usernameTextEdit.editMode ? jamiId.contentColor : "transparent"
enabled: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment