Skip to content

Commit

Permalink
chore: fix detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
typfel committed Aug 28, 2023
1 parent 098f3d7 commit e143682
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,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 @@ -224,7 +224,6 @@ interface ConversationRepository {
domain: String
): Either<CoreFailure, OneOnOneMembers>


/**
* 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 @@ -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 {
Expand Down

0 comments on commit e143682

Please sign in to comment.