Skip to content

Commit

Permalink
should push for reactions should be false
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Dec 3, 2024
1 parent 9acece3 commit 886e057
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 886e057

Please sign in to comment.