From 90047c2a0a8092d1244ff6936f7c2fab3c07ef6e Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Mon, 2 Dec 2024 20:02:59 -0800 Subject: [PATCH] should push for reactions should be false --- .../java/org/xmtp/android/library/codecs/ReactionCodec.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/library/src/main/java/org/xmtp/android/library/codecs/ReactionCodec.kt b/library/src/main/java/org/xmtp/android/library/codecs/ReactionCodec.kt index cb0093a63..cc9527d62 100644 --- a/library/src/main/java/org/xmtp/android/library/codecs/ReactionCodec.kt +++ b/library/src/main/java/org/xmtp/android/library/codecs/ReactionCodec.kt @@ -96,10 +96,7 @@ data class ReactionCodec(override var contentType: ContentTypeId = ContentTypeRe } } - override fun shouldPush(content: Reaction): Boolean = when (content.action) { - ReactionAction.Added -> true - else -> false - } + override fun shouldPush(content: Reaction): Boolean = false } private class ReactionSerializer : JsonSerializer {