moved updateDisplayName to profileMixin

This commit is contained in:
10G Meow 2022-02-20 12:14:24 +02:00
parent aebe869a4e
commit a03640c380

View file

@ -147,7 +147,7 @@
color="primary"
text
@click="
setDisplayName(editValue);
updateDisplayName(editValue);
showEditDisplaynameDialog = false;
"
>{{ $t("menu.ok") }}</v-btn
@ -241,10 +241,6 @@ export default {
},
methods: {
setDisplayName(name) {
this.$matrix.matrixClient.setDisplayName(name);
},
setPassword(oldPassword, newPassword) {
this.settingPassword = true;
this.passwordErrorMessage = null;