mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-20 09:11:38 +01:00
Merge pull request #285 from MidhunSureshR/fix-269
Add previous name in name change announcement
This commit is contained in:
commit
5db3b28e3a
@ -33,7 +33,7 @@ export class RoomMemberTile extends SimpleTile {
|
||||
if (content.avatar_url !== prevContent.avatar_url) {
|
||||
return `${senderName} changed their avatar`;
|
||||
} else if (content.displayname !== prevContent.displayname) {
|
||||
return `${senderName} changed their name to ${content.displayname}`;
|
||||
return `${prevContent.displayname} changed their name to ${content.displayname}`;
|
||||
}
|
||||
} else if (membership === "join") {
|
||||
return `${targetName} joined the room`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user