Skip to content

Commit

Permalink
fix(Activity): Fix equals() not checking for differing emoji (v13) (#…
Browse files Browse the repository at this point in the history
…8842)

Co-authored-by: Jaworek <jaworekwiadomosci@gmail.com>
  • Loading branch information
Eejit43 and jaw0r3k committed Nov 25, 2022
1 parent caf6f66 commit eecc50b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/structures/Presence.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@ class Activity {
this.type === activity.type &&
this.url === activity.url &&
this.state === activity.state &&
this.details === activity.details)
this.details === activity.details &&
this.emoji?.id === activity.emoji?.id &&
this.emoji?.name === activity.emoji?.name)
);
}

Expand Down

0 comments on commit eecc50b

Please sign in to comment.