Minor formatting fixes

This commit is contained in:
Andrew Ferrazzutti 2021-06-17 23:59:25 -04:00
parent f05a91e95d
commit 2c026939c3
2 changed files with 3 additions and 3 deletions

View File

@ -426,7 +426,7 @@ export default class MessagesPuppeteer {
* @return {Promise<[MessageData]>} - The messages visible in the chat.
*/
async getMessages(chatID) {
return await this.taskQueue.push(async () => this._getMessagesUnsafe(chatID))
return await this.taskQueue.push(() => this._getMessagesUnsafe(chatID))
}
setLastMessageIDs(ids) {