Remove broken catch_up option

This commit is contained in:
Tulir Asokan
2019-08-10 19:48:33 +03:00
parent ea7e4b277f
commit 468412100c
4 changed files with 0 additions and 13 deletions
-6
View File
@@ -117,12 +117,6 @@ class Bot(AbstractUser):
except (ChannelPrivateError, ChannelInvalidError):
self.remove_chat(TelegramID(channel_id.channel_id))
if config["bridge.catch_up"]:
try:
await self.client.catch_up()
except Exception:
self.log.exception("Failed to run catch_up() for bot")
def register_portal(self, portal: po.Portal) -> None:
self.add_chat(portal.tgid, portal.peer_type)