Skip to content

Commit a55799a

Browse files
committed
fix: Force auto dowload in groups
1 parent 4333184 commit a55799a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/telegram/bot/download.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ downloadDp.onNewMessage(async (msg) => {
5353
})
5454

5555
const settings = await getPeerSettings(msg.chat)
56-
if (settings.preferredOutput) {
56+
if (settings.preferredOutput || msg.chat.type !== "user") {
5757
const res = await onOutputSelected(
58-
settings.preferredOutput,
58+
settings.preferredOutput || "auto",
5959
req.result,
6060
args => msg.client.editMessage({ ...args, message: reply }),
6161
{ e, t },

0 commit comments

Comments
 (0)