Actually skip channel syncing when bridge.sync_on_startup is false
This commit is contained in:
parent
a817049e12
commit
c3726220de
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue