From 6ae8c42816dfb49b1eb7220ffcf09e47a0ff5a48 Mon Sep 17 00:00:00 2001 From: Rajeh Taher Date: Thu, 7 Jul 2022 18:30:26 +0300 Subject: [PATCH] fixing ESLint errors --- src/structures/GroupChat.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/structures/GroupChat.js b/src/structures/GroupChat.js index bdd76b6..542c81e 100644 --- a/src/structures/GroupChat.js +++ b/src/structures/GroupChat.js @@ -64,7 +64,7 @@ class GroupChat extends Chat { const participantWids = participantIds.map(p => window.Store.WidFactory.createWid(p)); const status = []; for (const participantWid of participantWids) { - status.push(await window.Store.GroupParticipants.sendAddParticipants(chatWid, participantWid)); + status.push(await window.Store.GroupParticipants.sendAddParticipants(chatWid, participantWid)); } return status; }, this.id._serialized, participantIds); @@ -81,7 +81,7 @@ class GroupChat extends Chat { const participantWids = participantIds.map(p => window.Store.WidFactory.createWid(p)); const status = []; for (const participantWid of participantWids) { - status.push(await window.Store.GroupParticipants.sendRemoveParticipants(chatWid, participantWid)); + status.push(await window.Store.GroupParticipants.sendRemoveParticipants(chatWid, participantWid)); } return status; }, this.id._serialized, participantIds); @@ -98,7 +98,7 @@ class GroupChat extends Chat { const participantWids = participantIds.map(p => window.Store.WidFactory.createWid(p)); const status = []; for (const participantWid of participantWids) { - status.push(await window.Store.GroupParticipants.sendPromoteParticipants(chatWid, participantWid)); + status.push(await window.Store.GroupParticipants.sendPromoteParticipants(chatWid, participantWid)); } return status; }, this.id._serialized, participantIds); @@ -115,7 +115,7 @@ class GroupChat extends Chat { const participantWids = participantIds.map(p => window.Store.WidFactory.createWid(p)); const status = []; for (const participantWid of participantWids) { - status.push(await window.Store.GroupParticipants.sendDemoteParticipants(chatWid, participantWid)); + status.push(await window.Store.GroupParticipants.sendDemoteParticipants(chatWid, participantWid)); } return status; }, this.id._serialized, participantIds);