Skip to content

Commit

Permalink
ignore all 400 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Garzas committed Jan 31, 2025
1 parent 8563c2a commit 650e115
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import com.wire.kalium.logic.functional.foldToEitherWhileRight
import com.wire.kalium.logic.functional.getOrElse
import com.wire.kalium.logic.kaliumLogger
import com.wire.kalium.network.exceptions.KaliumException
import com.wire.kalium.network.exceptions.isMLSProtocol

/**
* Send an external commit to join all MLS conversations for which the user is a member,
Expand Down Expand Up @@ -65,11 +64,10 @@ internal class JoinExistingMLSConversationsUseCaseImpl(
is NetworkFailure -> {
if (it is NetworkFailure.ServerMiscommunication
&& it.kaliumException is KaliumException.InvalidRequestError
&& it.kaliumException.isMLSProtocol()
) {
kaliumLogger.w(
"Failed to establish mls group for ${conversation.id.toLogString()} " +
"due to Invalid LeafNode signature, skipping."
"due to invalid request error, skipping."
)
Either.Right(Unit)
} else {
Expand Down

0 comments on commit 650e115

Please sign in to comment.