mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-15 05:00:47 +08:00
fix: improve WhatsApp settings and isolate IM host authentication
Some checks are pending
CI / Test, build, and verify package (push) Waiting to run
Some checks are pending
CI / Test, build, and verify package (push) Waiting to run
This commit is contained in:
parent
bcbe85fdb1
commit
bf73b0c0af
28 changed files with 848 additions and 116 deletions
|
|
@ -5,7 +5,7 @@ import { hasActiveHarnessInteractionOwner } from '../../src/channels/shared/harn
|
|||
const modernApis = new WeakMap();
|
||||
|
||||
function failureOf(error) {
|
||||
const failure = error?.failure;
|
||||
const failure = error?.failure ?? (error?.isDSHRemoteError === true ? error : null);
|
||||
if (failure && typeof failure === 'object'
|
||||
&& typeof failure.code === 'string'
|
||||
&& typeof failure.message === 'string') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue