Better emoji checking

This commit is contained in:
Eejit
2022-11-16 21:06:05 -05:00
committed by GitHub
parent 63054174a3
commit 44d52bfde8

View File

@@ -255,8 +255,7 @@ class Activity {
this.url === activity.url &&
this.state === activity.state &&
this.details === activity.details &&
this.emoji?.id === activity.emoji?.id &&
this.emoji?.name === activity.emoji?.name)
(this.emoji?.id ? this.emoji.id === activity.emoji?.id : this.emoji?.name === activity.emoji?.name))
);
}