fix: send oldusername in displayname changed event
This commit is contained in:
parent
62780b5b2f
commit
885da787b4
|
|
@ -156,7 +156,7 @@ abstract class EventLocalizations {
|
|||
}
|
||||
// Has the user displayname changed?
|
||||
else if (newDisplayname != oldDisplayname && stateKey != null) {
|
||||
text = i18n.changedTheDisplaynameTo(stateKey, newDisplayname);
|
||||
text = i18n.changedTheDisplaynameTo(oldDisplayname, newDisplayname);
|
||||
}
|
||||
}
|
||||
return text;
|
||||
|
|
|
|||
Loading…
Reference in New Issue