Skip to content

Commit

Permalink
chore: peer fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Sep 11, 2024
1 parent 8d6b0fe commit bc967b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot/mtproto-api/workrooms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export async function reopenChat(context: Context<"issues.reopened", SupportedEv
pinMessages: false,
untilDate: 0,
}),
peer: fetchChat,
peer: await mtProto.client.getPeerId(fetchChat.fullChat.id, true),
})
);

Expand Down

0 comments on commit bc967b7

Please sign in to comment.