Skip to content

Commit

Permalink
Better emoji checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Eejit43 committed Nov 17, 2022
1 parent abcc639 commit 3773f3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/structures/Presence.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,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))
);
}

Expand Down

0 comments on commit 3773f3f

Please sign in to comment.