Skip to content

Commit

Permalink
chore: fix detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
typfel committed Oct 13, 2023
1 parent b1fcd23 commit aab398a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ sealed class NetworkFailure : CoreFailure {

}


/**
* Failure due to a feature not supported by the current client/backend.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<CoreFailure, Unit> =
conversationRepository.getConversationIds(Conversation.Type.GROUP, Conversation.Protocol.PROTEUS)
.flatMap { proteusConversationIds ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class UserDAOImpl internal constructor(
expires_at = user.expiresAt,
connection_status = user.connectionStatus,
deleted = user.deleted,
supported_protocols = user.supportedProtocols
supported_protocols = user.supportedProtocols
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ sealed interface MessageEntity {
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, CONVERSATION_VERIFIED_MLS,
CONVERSATION_VERIFIED_PREOTEUS,COMPOSITE, FEDERATION, CONVERSATION_PROTOCOL_CHANGED
CONVERSATION_VERIFIED_PREOTEUS, COMPOSITE, FEDERATION, CONVERSATION_PROTOCOL_CHANGED
}

enum class MemberChangeType {
Expand Down

0 comments on commit aab398a

Please sign in to comment.