Skip to content

Commit

Permalink
Merge pull request #2664 from ghayman/fix-get-group-participant
Browse files Browse the repository at this point in the history
window.Store.Cmd.openChatBottom is not defined. Deleting the call it …
  • Loading branch information
orkestral committed Mar 29, 2024
2 parents 93d4c73 + ac8f8a1 commit a2ef04f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/wapi/functions/get-group-participant.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ export async function getGroupParticipant(groupId, time = 1000) {
const chat = await WAPI.sendExist(groupId);

if (chat && chat.status != 404 && chat.id) {
await window.Store.Cmd.openChatBottom(chat);
await sleep(time);
const moduleGroup = await window.Store.GroupMetadata._models.filter(
(e) => e.id._serialized === groupId
);
Expand Down

0 comments on commit a2ef04f

Please sign in to comment.