HandleWrongExternalSenderUseCase

Handles a message of conversationId that failed its signature check, which happens for every proposal of the hosting backend when the group's external sender is not that backend's removal key. When the self domain hosts the conversation and the group has the wrong external sender, the group is reset, so it is established again with the right key.

Return

true if the group was reset, so the failure isn't a message the user missed. Otherwise the group may stay broken, and the failure is shown.

Inheritors

Functions

Link copied to clipboard
abstract suspend operator fun invoke(transactionContext: CryptoTransactionContext, conversationId: ConversationId): Boolean