mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-05 04:41:03 -05:00
daemon: Keep the proxy config in the daemon class around.
This commit is contained in:
parent
90e803900d
commit
1ad5cf6e66
@ -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()
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user