Merge branch 'td/oldusername' into 'main'
fix: send oldusername in displayname changed event Closes #271 See merge request famedly/company/frontend/famedlysdk!977
This commit is contained in:
commit
ba48ab661c
|
|
@ -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