Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 7856268

Browse files
committed
Ignore avatar changes
Signed-off-by: Šimon Brandner <[email protected]>
1 parent 08402cc commit 7856268

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/stores/room-list/algorithms/tag-sorting/RecentAlgorithm.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ export function shouldCauseReorder(event: MatrixEvent): boolean {
3636
if (type === "im.vector.user_status") return false;
3737
// Ignore display name changes
3838
if (type === EventType.RoomMember && prevContent.displayname !== content.displayname) return false;
39+
// Ignore avatar changes
40+
if (type === EventType.RoomMember && prevContent.avatar_url !== content.avatar_url) return false;
3941

4042
return true;
4143
}

0 commit comments

Comments
 (0)