daemon: Keep the proxy config in the daemon class around.

This commit is contained in:
Damir Jelić 2019-05-21 12:35:55 +02:00
parent 90e803900d
commit 1ad5cf6e66
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ from pantalaimon.thread_messages import (AcceptSasMessage, CancelSasMessage,
class ProxyDaemon:
name = attr.ib()
homeserver = attr.ib()
conf = attr.ib()
data_dir = attr.ib()
send_queue = attr.ib()
recv_queue = attr.ib()

View File

@ -33,6 +33,7 @@ async def init(data_dir, server_conf, send_queue, recv_queue):
proxy = ProxyDaemon(
server_conf.name,
server_conf.homeserver,
server_conf,
data_dir,
send_queue=send_queue,
recv_queue=recv_queue,