Skip to content

Commit

Permalink
TW-740: remove change avatar event when user first set his avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
sherlockvn authored and hoangdat committed Oct 5, 2023
1 parent 4b434e5 commit 0065bb4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}

Expand Down

0 comments on commit 0065bb4

Please sign in to comment.