Skip to content

Commit

Permalink
Fix filters
Browse files Browse the repository at this point in the history
  • Loading branch information
greeeen-dev committed Feb 5, 2025
1 parent 6a68ac8 commit 6131467
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cogs/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -1959,7 +1959,11 @@ async def send(self, room: str, message,
else:
scan_content = source_support.content(message)
scan_files = len(source_support.attachments(message))
await self.can_send(room, message, scan_content, scan_files, source=source)

try:
await self.can_send(room, message, scan_content, scan_files, source=source)
except self.BridgeError:
return

if not platform in self.__bot.db['rooms'][room].keys():
return
Expand Down

0 comments on commit 6131467

Please sign in to comment.