Skip to content

Commit

Permalink
[WAHA] Return forward
Browse files Browse the repository at this point in the history
  • Loading branch information
devlikepro committed Oct 13, 2024
1 parent 4c4cc98 commit 6a333d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ class Message extends Base {
async forward(chat) {
const chatId = typeof chat === 'string' ? chat : chat.id._serialized;

await this.client.pupPage.evaluate(async (msgId, chatId) => {
return await this.client.pupPage.evaluate(async (msgId, chatId) => {
return window.WWebJS.forwardMessage(chatId, msgId);
}, this.id._serialized, chatId);
}
Expand Down

0 comments on commit 6a333d0

Please sign in to comment.