Skip to content

Commit

Permalink
fix: Update chat filter
Browse files Browse the repository at this point in the history
  • Loading branch information
otomir23 committed Dec 15, 2024
1 parent 0516d8e commit 0a72aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telegram/bot/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { evaluatorsFor } from "@/telegram/helpers/text"

export const downloadDp = Dispatcher.child()

downloadDp.onNewMessage(filters.chat("private"), async (msg) => {
downloadDp.onNewMessage(filters.chat("user"), async (msg) => {
const { e, t } = await evaluatorsFor(msg.sender)

const urlEntity = msg.entities.find(e => e.is("text_link") || e.is("url"))
Expand Down

0 comments on commit 0a72aa5

Please sign in to comment.