From b3e7a98324227c03ae50e2b01a4a4013b53b7d6c Mon Sep 17 00:00:00 2001 From: Panoramic Date: Wed, 24 Jul 2024 12:24:50 +0300 Subject: [PATCH] Add ignore_unverified_devices=True --- vetting_bot/bot_commands.py | 2 ++ vetting_bot/timer.py | 1 + 2 files changed, 3 insertions(+) diff --git a/vetting_bot/bot_commands.py b/vetting_bot/bot_commands.py index e9b34f7..1f3c211 100644 --- a/vetting_bot/bot_commands.py +++ b/vetting_bot/bot_commands.py @@ -288,6 +288,7 @@ class Command: self.room.room_id, message_type="org.matrix.msc3381.poll.start", content=event_content, + ignore_unverified_devices=True, ) if isinstance(poll_resp, RoomSendError): @@ -322,6 +323,7 @@ class Command: self.room.room_id, message_type="m.room.message", content=msg_content, + ignore_unverified_devices=True, ) if isinstance(msg_resp, RoomSendError): diff --git a/vetting_bot/timer.py b/vetting_bot/timer.py index 3374bb8..be9c283 100644 --- a/vetting_bot/timer.py +++ b/vetting_bot/timer.py @@ -68,6 +68,7 @@ class Timer: self.config.vetting_room_id, message_type="org.matrix.msc3381.poll.end", content=event_content, + ignore_unverified_devices=True, ) if isinstance(poll_resp, RoomSendError):