diff --git a/pantalaimon/daemon.py b/pantalaimon/daemon.py index 10c2deb..f6df15b 100755 --- a/pantalaimon/daemon.py +++ b/pantalaimon/daemon.py @@ -850,12 +850,9 @@ class ProxyDaemon: await self.send_ui_message(message) try: - if self.send_queue: - response = await asyncio.wait_for( - queue.get(), self.unverified_send_timeout - ) - else: - response = SendAnywaysMessage("irrelevant_message_ID", client, room_id) + response = await asyncio.wait_for( + queue.get(), self.unverified_send_timeout + ) if isinstance(response, CancelSendingMessage): # The send was canceled notify the client that sent the