Merge branch 'main' into fix-buttons-list

This commit is contained in:
Rajeh Taher
2023-01-06 20:17:02 +02:00
committed by GitHub
7 changed files with 45 additions and 3 deletions

View File

@@ -62,7 +62,15 @@ class Call extends Base {
return super._patch(data);
}
/**
* Reject the call
*/
async reject() {
return this.client.pupPage.evaluate((peerJid, id) => {
return window.WWebJS.rejectCall(peerJid, id);
}, this.from, this.id);
}
}
module.exports = Call;