From 886e057e48f2af899cc9f03034be6effeac354ba Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Mon, 2 Dec 2024 20:00:40 -0800 Subject: [PATCH] should push for reactions should be false --- Sources/XMTPiOS/Codecs/ReactionCodec.swift | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Sources/XMTPiOS/Codecs/ReactionCodec.swift b/Sources/XMTPiOS/Codecs/ReactionCodec.swift index 50fa31c4..65d35276 100644 --- a/Sources/XMTPiOS/Codecs/ReactionCodec.swift +++ b/Sources/XMTPiOS/Codecs/ReactionCodec.swift @@ -99,13 +99,6 @@ public struct ReactionCodec: ContentCodec { } public func shouldPush(content: Reaction) throws -> Bool { - switch content.action { - case .added: - return true - case .removed: - return false - case .unknown: - return false - } + return false } }