Stop spamming 'unknown command' in 2 user rooms

This commit is contained in:
Panoramic 2024-06-11 13:41:37 +03:00
parent b1c75d3268
commit af9961688f
Signed by: Panoramic
GPG Key ID: 29FEDD73E66D32F1
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class Callbacks:
# room.is_group does not allow room aliases
# room.member_count > 2 ... we assume a public room
# room.member_count <= 2 ... we assume a DM
if not has_command_prefix and room.member_count > 2:
if not has_command_prefix:
# General message listener
message = Message(self.client, self.store, self.config, msg, room, event)
await message.process()