Skip to content

Commit

Permalink
should push for reactions should be false (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer authored Dec 3, 2024
1 parent 9acece3 commit 6b6a461
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Sources/XMTPiOS/Codecs/ReactionCodec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit 6b6a461

Please sign in to comment.