fix: Display stateKey when changing displayname

This commit is contained in:
Christian Pauly 2020-11-23 17:35:50 +01:00
parent ab8eb71fee
commit 9181701df0
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ abstract class EventLocalizations {
}
// Has the user avatar changed?
else if (newDisplayname != oldDisplayname) {
text = i18n.changedTheDisplaynameTo(targetName, newDisplayname);
text = i18n.changedTheDisplaynameTo(event.stateKey, newDisplayname);
}
}
return text;