diff --git a/docs/structures_Message.js.html b/docs/structures_Message.js.html index 125c4f3..d937dd5 100644 --- a/docs/structures_Message.js.html +++ b/docs/structures_Message.js.html @@ -480,7 +480,7 @@ class Message extends Base { let msg = window.Store.Msg.get(msgId); if (msg.canStar()) { - return msg.chat.sendStarMsgs([msg], true); + return window.Store.Cmd.sendStarMsgs(msg.chat, [msg], false); } }, this.id._serialized); } @@ -493,7 +493,7 @@ class Message extends Base { let msg = window.Store.Msg.get(msgId); if (msg.canStar()) { - return msg.chat.sendStarMsgs([msg], false); + return window.Store.Cmd.sendUnstarMsgs(msg.chat, [msg], false); } }, this.id._serialized); } diff --git a/src/structures/Message.js b/src/structures/Message.js index 77a8e89..f66af99 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -449,7 +449,7 @@ class Message extends Base { let msg = window.Store.Msg.get(msgId); if (msg.canStar()) { - return msg.chat.sendStarMsgs([msg], true); + return window.Store.Cmd.sendStarMsgs(msg.chat, [msg], false); } }, this.id._serialized); } @@ -462,7 +462,7 @@ class Message extends Base { let msg = window.Store.Msg.get(msgId); if (msg.canStar()) { - return msg.chat.sendStarMsgs([msg], false); + return window.Store.Cmd.sendUnstarMsgs(msg.chat, [msg], false); } }, this.id._serialized); }