diff --git a/logic/src/commonMain/kotlin/com/wire/kalium/logic/CoreFailure.kt b/logic/src/commonMain/kotlin/com/wire/kalium/logic/CoreFailure.kt index be5067ce4d4..d5f6e68d1cc 100644 --- a/logic/src/commonMain/kotlin/com/wire/kalium/logic/CoreFailure.kt +++ b/logic/src/commonMain/kotlin/com/wire/kalium/logic/CoreFailure.kt @@ -140,7 +140,6 @@ sealed class NetworkFailure : CoreFailure { } - /** * Failure due to a feature not supported by the current client/backend. */ diff --git a/logic/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/ConversationRepository.kt b/logic/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/ConversationRepository.kt index 6c8cebe1b29..3780499e8ef 100644 --- a/logic/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/ConversationRepository.kt +++ b/logic/src/commonMain/kotlin/com/wire/kalium/logic/data/conversation/ConversationRepository.kt @@ -224,7 +224,6 @@ interface ConversationRepository { domain: String ): Either - /** * Update a conversation's protocol. * diff --git a/logic/src/commonMain/kotlin/com/wire/kalium/logic/data/message/MessageMapper.kt b/logic/src/commonMain/kotlin/com/wire/kalium/logic/data/message/MessageMapper.kt index 6c9781e3509..dbce59adf94 100644 --- a/logic/src/commonMain/kotlin/com/wire/kalium/logic/data/message/MessageMapper.kt +++ b/logic/src/commonMain/kotlin/com/wire/kalium/logic/data/message/MessageMapper.kt @@ -188,7 +188,7 @@ class MessageMapperImpl( ) } - @Suppress("ComplexMethod") + @Suppress("ComplexMethod", "LongMethod") override fun fromMessageToLocalNotificationMessage( message: NotificationMessageEntity ): LocalNotificationMessage? { diff --git a/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/conversation/SyncConversationsUseCase.kt b/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/conversation/SyncConversationsUseCase.kt index bf3d4cfca30..5e770c482dc 100644 --- a/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/conversation/SyncConversationsUseCase.kt +++ b/logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/conversation/SyncConversationsUseCase.kt @@ -36,7 +36,7 @@ internal interface SyncConversationsUseCase { internal class SyncConversationsUseCaseImpl( private val conversationRepository: ConversationRepository, private val systemMessageInserter: SystemMessageInserter -) : SyncConversationsUseCase { +) : SyncConversationsUseCase { override suspend operator fun invoke(): Either = conversationRepository.getConversationIds(Conversation.Type.GROUP, Conversation.Protocol.PROTEUS) .flatMap { proteusConversationIds -> diff --git a/persistence/src/commonMain/kotlin/com/wire/kalium/persistence/dao/UserDAOImpl.kt b/persistence/src/commonMain/kotlin/com/wire/kalium/persistence/dao/UserDAOImpl.kt index a7d6a2b2d7f..ef223480547 100644 --- a/persistence/src/commonMain/kotlin/com/wire/kalium/persistence/dao/UserDAOImpl.kt +++ b/persistence/src/commonMain/kotlin/com/wire/kalium/persistence/dao/UserDAOImpl.kt @@ -212,7 +212,7 @@ class UserDAOImpl internal constructor( expires_at = user.expiresAt, connection_status = user.connectionStatus, deleted = user.deleted, - supported_protocols = user.supportedProtocols + supported_protocols = user.supportedProtocols ) } } diff --git a/persistence/src/commonMain/kotlin/com/wire/kalium/persistence/dao/message/MessageEntity.kt b/persistence/src/commonMain/kotlin/com/wire/kalium/persistence/dao/message/MessageEntity.kt index c62f4938cfd..9ade38f878e 100644 --- a/persistence/src/commonMain/kotlin/com/wire/kalium/persistence/dao/message/MessageEntity.kt +++ b/persistence/src/commonMain/kotlin/com/wire/kalium/persistence/dao/message/MessageEntity.kt @@ -189,9 +189,9 @@ sealed interface MessageEntity { enum class ContentType { TEXT, ASSET, KNOCK, MEMBER_CHANGE, MISSED_CALL, RESTRICTED_ASSET, CONVERSATION_RENAMED, UNKNOWN, FAILED_DECRYPTION, REMOVED_FROM_TEAM, CRYPTO_SESSION_RESET, - NEW_CONVERSATION_RECEIPT_MODE, CONVERSATION_RECEIPT_MODE_CHANGED, HISTORY_LOST, HISTORY_LOST_PROTOCOL_CHANGED, CONVERSATION_MESSAGE_TIMER_CHANGED, - CONVERSATION_CREATED, MLS_WRONG_EPOCH_WARNING, CONVERSATION_DEGRADED_MLS, CONVERSATION_DEGRADED_PREOTEUS, - COMPOSITE, FEDERATION, CONVERSATION_PROTOCOL_CHANGED + NEW_CONVERSATION_RECEIPT_MODE, CONVERSATION_RECEIPT_MODE_CHANGED, HISTORY_LOST, HISTORY_LOST_PROTOCOL_CHANGED, + CONVERSATION_MESSAGE_TIMER_CHANGED, CONVERSATION_CREATED, MLS_WRONG_EPOCH_WARNING, CONVERSATION_DEGRADED_MLS, + CONVERSATION_DEGRADED_PREOTEUS, COMPOSITE, FEDERATION, CONVERSATION_PROTOCOL_CHANGED } enum class MemberChangeType {