This commit is contained in:
parent
07e87bc3c7
commit
48ba0e504a
|
@ -91,7 +91,7 @@ class Callbacks:
|
||||||
# room.member_count > 2 ... we assume a public room
|
# room.member_count > 2 ... we assume a public room
|
||||||
# room.member_count <= 2 ... we assume a DM
|
# room.member_count <= 2 ... we assume a DM
|
||||||
# General message listener
|
# General message listener
|
||||||
logger.info(is_thread(event))
|
logger.info(f"{not msg.startswith(f'{self.command_prefix} ')}, {is_thread(event)}, {await is_this_our_thread(self.client, room, event, self.command_prefix)}")
|
||||||
|
|
||||||
if not msg.startswith(f'{self.command_prefix} ') and is_thread(event) and (await is_this_our_thread(self.client, room, event, self.command_prefix)):
|
if not msg.startswith(f'{self.command_prefix} ') and is_thread(event) and (await is_this_our_thread(self.client, room, event, self.command_prefix)):
|
||||||
await self.client.room_typing(room.room_id, typing_state=True, timeout=3000)
|
await self.client.room_typing(room.room_id, typing_state=True, timeout=3000)
|
||||||
|
|
Loading…
Reference in New Issue