Skip to content

Commit

Permalink
fix: Fixed setOnlinePresence method
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias committed Sep 17, 2022
1 parent ecda056 commit 1ae2658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/layers/sender.layer.ts
Expand Up @@ -1145,7 +1145,7 @@ export class SenderLayer extends ListenerLayer {
public async setOnlinePresence(online: boolean = true) {
return evaluateAndReturn(
this.page,
({ online }) => WAPI.setOnlinePresence(online),
({ online }) => WPP.conn.markAvailable(online),
{
online,
}
Expand Down

0 comments on commit 1ae2658

Please sign in to comment.