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 10, 2023
1 parent 1c6cc82 commit a5d54cb
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 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 @@ -246,7 +246,7 @@ interface ConversationRepository {
suspend fun getConversationDetailsByMLSGroupId(mlsGroupId: GroupID): Either<CoreFailure, ConversationDetails>

suspend fun observeUnreadArchivedConversationsCount(): Flow<Long>

/**
* Update a conversation's protocol.
*
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 @@ -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
)
}
}
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 a5d54cb

Please sign in to comment.