Actually skip channel syncing when bridge.sync_on_startup is false

This commit is contained in:
Andrew Ferrazzutti 2022-05-06 03:51:20 -04:00
parent a817049e12
commit c3726220de

View File

@ -471,7 +471,7 @@ class User(DBUser, BaseUser):
if self.config["bridge.sync_on_startup"] or not is_startup:
sync_count = self.config["bridge.initial_chat_sync"]
else:
sync_count = None
sync_count = 0
await self.connect_and_sync(sync_count, force_sync=False)
else:
await self.send_bridge_notice(