Send: Gracefully degrade if we don't have sender certificate
This commit is contained in:
parent
21e2877234
commit
e5e4f90974
1 changed files with 2 additions and 4 deletions
|
@ -257,10 +257,8 @@ OutgoingMessage.prototype = {
|
|||
const { accessKey } = info || {};
|
||||
|
||||
if (accessKey && !senderCertificate) {
|
||||
return Promise.reject(
|
||||
new Error(
|
||||
window.log.warn(
|
||||
'OutgoingMessage.doSendMessage: accessKey was provided, but senderCertificate was not'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue