summary refs log tree commit diff
path: root/src/ui/UserProfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/UserProfile.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp

index 9e8d45b5..3872294a 100644 --- a/src/ui/UserProfile.cpp +++ b/src/ui/UserProfile.cpp
@@ -270,8 +270,6 @@ UserProfile::changeUsername(QString username) err->matrix_error.error); }); } - - allowUsernameEditing(false); } void @@ -291,19 +289,6 @@ UserProfile::unverify(QString device) } void -UserProfile::allowUsernameEditing(bool allow) -{ - usernameEditing = allow; - emit usernameEditingChanged(); -} - -bool -UserProfile::isUsernameEditingAllowed() const -{ - return usernameEditing; -} - -void UserProfile::setGlobalUsername(const QString &globalUser) { globalUsername = globalUser;