From eecc50bfda89cd240dd20539234f7fc2e975daa6 Mon Sep 17 00:00:00 2001 From: Eejit <76887639+Eejit43@users.noreply.github.com> Date: Fri, 25 Nov 2022 12:09:22 -0500 Subject: [PATCH] fix(Activity): Fix equals() not checking for differing emoji (v13) (#8842) Co-authored-by: Jaworek --- src/structures/Presence.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/structures/Presence.js b/src/structures/Presence.js index 9bdf68b1b..b9cf29ed4 100644 --- a/src/structures/Presence.js +++ b/src/structures/Presence.js @@ -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) ); }