mirror of https://github.com/vector-im/riot-web
Ignore avatar changes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
08402cca9f
commit
78562685bb
|
@ -36,6 +36,8 @@ export function shouldCauseReorder(event: MatrixEvent): boolean {
|
|||
if (type === "im.vector.user_status") return false;
|
||||
// Ignore display name changes
|
||||
if (type === EventType.RoomMember && prevContent.displayname !== content.displayname) return false;
|
||||
// Ignore avatar changes
|
||||
if (type === EventType.RoomMember && prevContent.avatar_url !== content.avatar_url) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue