From c3e7791b3ef2c92ef3bb17d24fc082799628d4ee Mon Sep 17 00:00:00 2001 From: Natty Date: Fri, 22 Dec 2023 19:52:38 +0100 Subject: [PATCH] Backend: Fixed emoji context merging --- magnetar_sdk/src/types/emoji.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magnetar_sdk/src/types/emoji.rs b/magnetar_sdk/src/types/emoji.rs index c8c3a6d..7ca90d7 100644 --- a/magnetar_sdk/src/types/emoji.rs +++ b/magnetar_sdk/src/types/emoji.rs @@ -33,7 +33,7 @@ impl EmojiContext { self.0.extend( more.iter() - .filter(|&e| existing.contains(&e.emoji.0.shortcode)) + .filter(|&e| !existing.contains(&e.emoji.0.shortcode)) .cloned(), ); }