diff --git a/library/src/main/java/org/xmtp/android/library/codecs/ReactionV2Codec.kt b/library/src/main/java/org/xmtp/android/library/codecs/ReactionV2Codec.kt index faf64392..918f8f44 100644 --- a/library/src/main/java/org/xmtp/android/library/codecs/ReactionV2Codec.kt +++ b/library/src/main/java/org/xmtp/android/library/codecs/ReactionV2Codec.kt @@ -20,24 +20,6 @@ val ContentTypeReactionV2 = ContentTypeIdBuilder.builderFromAuthorityId( versionMinor = 0, ) -fun getReactionV2Schema(schema: String): FfiReactionSchema { - return when (schema) { - "unicode" -> FfiReactionSchema.UNICODE - "shortcode" -> FfiReactionSchema.SHORTCODE - "custom" -> FfiReactionSchema.CUSTOM - else -> FfiReactionSchema.UNKNOWN - } -} - -fun getReactionV2Action(action: String): FfiReactionAction { - return when (action) { - "removed" -> FfiReactionAction.REMOVED - "added" -> FfiReactionAction.ADDED - else -> FfiReactionAction.UNKNOWN - } -} - - data class ReactionV2Codec(override var contentType: ContentTypeId = ContentTypeReactionV2) : ContentCodec {