Skip to content

Commit

Permalink
fix: Fixed client.openChatAt (close #2293)
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Aug 29, 2024
1 parent 7e88c51 commit 68e011c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/api/layers/ui.layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ export class UILayer extends GroupLayer {
public async openChatAt(chatId: string, messageId: string) {
return evaluateAndReturn(
this.page,
(chatId: string) => WPP.chat.openChatAt(chatId, messageId),
chatId
(chatId: string, messageId) => WPP.chat.openChatAt(chatId, messageId),
chatId,
messageId
);
}

Expand Down

0 comments on commit 68e011c

Please sign in to comment.