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:
|
if self.config["bridge.sync_on_startup"] or not is_startup:
|
||||||
sync_count = self.config["bridge.initial_chat_sync"]
|
sync_count = self.config["bridge.initial_chat_sync"]
|
||||||
else:
|
else:
|
||||||
sync_count = None
|
sync_count = 0
|
||||||
await self.connect_and_sync(sync_count, force_sync=False)
|
await self.connect_and_sync(sync_count, force_sync=False)
|
||||||
else:
|
else:
|
||||||
await self.send_bridge_notice(
|
await self.send_bridge_notice(
|
||||||
|
Loading…
Reference in New Issue
Block a user