aboutsummaryrefslogtreecommitdiffstats
path: root/project/botmanager.py
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2017-04-17 16:19:06 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2017-04-17 16:19:06 +0300
commitf536354dad36b61992feef9f8de565510ee4e5a3 (patch)
tree2223cd904a0f88a5fde4c3fc161da120b99d539a /project/botmanager.py
parent6c609d9178a678e2b7c6fb6a17539fc8fe6500a0 (diff)
Forward only new messagesmaster
Diffstat (limited to 'project/botmanager.py')
-rw-r--r--project/botmanager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/project/botmanager.py b/project/botmanager.py
index 4984a97..4f815d5 100644
--- a/project/botmanager.py
+++ b/project/botmanager.py
@@ -45,6 +45,8 @@ class BotManager(object):
def start(self):
"""Try fetching bot information from Telegram to check connection"""
+ ShoutboxCommunicator.load_largest_id()
+
TelegramCommunicator.start_listening(self.handle)
while True: