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