Remove "room load until there's non-profile event"

This commit is contained in:
miruka
2020-04-04 07:26:02 -04:00
parent 1adbddc063
commit 9e07612249
2 changed files with 1 additions and 44 deletions

View File

@@ -1,6 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
import asyncio
import json
import logging as log
from contextlib import suppress
@@ -80,10 +79,6 @@ class NioCallbacks:
)
if not self.client.first_sync_done.is_set():
self.client.load_rooms_task = asyncio.ensure_future(
self.client.load_rooms_without_visible_events(),
)
self.client.first_sync_done.set()
self.client.first_sync_date = datetime.now()