fix unpin messages (#3839)
Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com>
This commit is contained in:
parent
34b787a795
commit
a31607e2dc
1 changed files with 1 additions and 1 deletions
|
|
@ -562,7 +562,7 @@ class Message extends Base {
|
|||
*/
|
||||
async unpin() {
|
||||
return await this.client.pupPage.evaluate(async (msgId) => {
|
||||
return await window.WWebJS.pinUnpinMsgAction(msgId, 2);
|
||||
return await window.WWebJS.pinUnpinMsgAction(msgId, 2, 0);
|
||||
}, this.id._serialized);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue