forked from mystiq/hydrogen-web
Merge pull request #285 from MidhunSureshR/fix-269
Add previous name in name change announcement
This commit is contained in:
commit
5db3b28e3a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue