mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-23 13:51:15 -05:00
daemon: Format the file.
This commit is contained in:
parent
5ca755a944
commit
d7089b91bd
@ -553,7 +553,9 @@ class ProxyDaemon:
|
|||||||
|
|
||||||
return user
|
return user
|
||||||
|
|
||||||
async def start_pan_client(self, access_token, user, user_id, password, device_id=None):
|
async def start_pan_client(
|
||||||
|
self, access_token, user, user_id, password, device_id=None
|
||||||
|
):
|
||||||
client = ClientInfo(user_id, access_token)
|
client = ClientInfo(user_id, access_token)
|
||||||
self.client_info[access_token] = client
|
self.client_info[access_token] = client
|
||||||
self.store.save_server_user(self.name, user_id)
|
self.store.save_server_user(self.name, user_id)
|
||||||
@ -665,7 +667,9 @@ class ProxyDaemon:
|
|||||||
f"User: {user} succesfully logged in, starting "
|
f"User: {user} succesfully logged in, starting "
|
||||||
f"a background sync client."
|
f"a background sync client."
|
||||||
)
|
)
|
||||||
await self.start_pan_client(access_token, user, user_id, password, device_id)
|
await self.start_pan_client(
|
||||||
|
access_token, user, user_id, password, device_id
|
||||||
|
)
|
||||||
|
|
||||||
return web.Response(
|
return web.Response(
|
||||||
status=response.status,
|
status=response.status,
|
||||||
|
Loading…
Reference in New Issue
Block a user