Skip to content

Commit

Permalink
Fix filters
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirarism authored Nov 23, 2023
1 parent 693a052 commit 9f3474e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misskaty/plugins/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ async def del_filter(_, m):
)
async def filters_re(_, message):
text = message.text.lower().strip()
if not text:
if not text or (m.command and m.command[0].lower() in ["filter", "addfilter"]):
return
chat_id = message.chat.id
list_of_filters = await get_filters_names(chat_id)
Expand Down

0 comments on commit 9f3474e

Please sign in to comment.