Skip to content

Commit

Permalink
should push for reactions should be false (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer authored Dec 3, 2024
1 parent 13dc059 commit 48a9df8
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Reaction> {
Expand Down

0 comments on commit 48a9df8

Please sign in to comment.