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
|
// support OMEMO:2
|
||||||
cancelReason: result.jidEncryptionErrors[toJid.toString()] is NoKeyMaterialAvailableException ?
|
cancelReason: result.jidEncryptionErrors[toJid.toString()] is NoKeyMaterialAvailableException ?
|
||||||
OmemoNotSupportedForContactException() :
|
OmemoNotSupportedForContactException() :
|
||||||
null,
|
UnknownOmemoError(),
|
||||||
cancel: true,
|
cancel: true,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user