From e2d54e417698d3b9920943a3521b9134381857e0 Mon Sep 17 00:00:00 2001 From: sherlock Date: Wed, 4 Oct 2023 16:35:46 +0700 Subject: [PATCH] TW-740: remove change avatar event when user first set his avatar --- lib/utils/matrix_sdk_extensions/filtered_timeline_extension.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/utils/matrix_sdk_extensions/filtered_timeline_extension.dart b/lib/utils/matrix_sdk_extensions/filtered_timeline_extension.dart index a241672008..2e20e5d224 100644 --- a/lib/utils/matrix_sdk_extensions/filtered_timeline_extension.dart +++ b/lib/utils/matrix_sdk_extensions/filtered_timeline_extension.dart @@ -87,7 +87,6 @@ extension IsStateExtension on Event { bool isSomeoneChangeAvatar() { return stateKey != null && prevContent?["membership"] == 'join' && - prevContent?['avatar_url'] != null && prevContent?['avatar_url'] != content['avatar_url']; }