From fceb215cd80e34f20c875f332daf88ef3e0dde5f Mon Sep 17 00:00:00 2001 From: Sergey Degtyar Date: Fri, 3 May 2024 23:30:43 +0300 Subject: [PATCH] app: fixed logout feature --- Syncogram/sourcefiles/userbar/logout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Syncogram/sourcefiles/userbar/logout.py b/Syncogram/sourcefiles/userbar/logout.py index b8c38fa..537e168 100644 --- a/Syncogram/sourcefiles/userbar/logout.py +++ b/Syncogram/sourcefiles/userbar/logout.py @@ -23,7 +23,7 @@ def __init__(self, account_id, _, *args) -> None: async def submit(self, e) -> None: session = self.database.get_session_by_id(self.account_id) - client = UserClient(*session) + client = UserClient(session) if await client.logout(): self.database.delete_user_by_id(self.account_id)