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