feat: Always set a cancel reason on failure
This commit is contained in:
parent
e031e6d760
commit
c3459e6820
@ -361,7 +361,7 @@ abstract class BaseOmemoManager extends XmppManagerBase {
|
||||
// support OMEMO:2
|
||||
cancelReason: result.jidEncryptionErrors[toJid.toString()] is NoKeyMaterialAvailableException ?
|
||||
OmemoNotSupportedForContactException() :
|
||||
null,
|
||||
UnknownOmemoError(),
|
||||
cancel: true,
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user