mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-08 14:18:08 -05:00
daemon: Use the right queue to send messages.
This commit is contained in:
parent
1f548f3a7e
commit
1d2d0d6bba
@ -117,7 +117,7 @@ class ProxyDaemon:
|
|||||||
async def send_info(self, string):
|
async def send_info(self, string):
|
||||||
"""Send a info message to the UI thread."""
|
"""Send a info message to the UI thread."""
|
||||||
message = InfoMessage(string)
|
message = InfoMessage(string)
|
||||||
await self.queue.put(message)
|
await self.send_queue.put(message)
|
||||||
|
|
||||||
async def receive_message(self, message):
|
async def receive_message(self, message):
|
||||||
client = self.pan_clients.get(message.pan_user)
|
client = self.pan_clients.get(message.pan_user)
|
||||||
|
Loading…
Reference in New Issue
Block a user