Commit ee1a1584 authored by Szymon Zimnowoda's avatar Szymon Zimnowoda
Browse files

cleanup

parent 8be3a65a
Pipeline #11768 passed with stage
in 1 minute and 13 seconds
Showing with 0 additions and 4 deletions
+0 -4
......@@ -204,9 +204,6 @@ class TelegramPlugin(PluginBase):
logger.info(f"Using existing account: {self.me.id} {self.me.displayName} {self.me.externalId}")
try:
session_dict = json.loads(self.me.secret)
logger.info(f"session dict {session_dict}")
session = sessions.MemorySession()
session.set_dc(session_dict['dc_id'], session_dict['server_address'], session_dict['port'])
session.takeout_id = session_dict['takeout_id']
......
......@@ -185,5 +185,4 @@ async def test_plugin_integration(context: Context):
new_message = context.pod.search(
{"type": "Message", "service": SERVICE_NAME, "content": message})
# TODO: use separate mobile phone numbers for test, and user, then this should work
assert len(new_message) == 1, "No new message in the POD DB!"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment