Skip to content

Commit

Permalink
feat: Added WPP.auth.isMultiDevice function
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias committed Oct 9, 2021
1 parent 567aacd commit 1186db7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/auth/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ export class Auth extends Emittery<AuthEventTypes> {
return State.state === Constants.SOCKET_STATE.UNPAIRED_IDLE;
}

public isMultiDevice(): boolean {
return Features.supportsFeature('MD_BACKEND');
}

public poke(): void {
State.poke();
}
Expand Down

0 comments on commit 1186db7

Please sign in to comment.