From 163f55f9c27e9e8a75774424d22598799e8306c6 Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 14 Feb 2017 21:12:02 +0100 Subject: Refactor to handle disconnects/reconnects better. Now try to reconnect every 60 seconds until forever. --- bridge/telegram/telegram.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bridge/telegram') diff --git a/bridge/telegram/telegram.go b/bridge/telegram/telegram.go index 38d7fd12..aa637457 100644 --- a/bridge/telegram/telegram.go +++ b/bridge/telegram/telegram.go @@ -51,6 +51,11 @@ func (b *Btelegram) Connect() error { return nil } +func (b *Btelegram) Disconnect() error { + return nil + +} + func (b *Btelegram) JoinChannel(channel string) error { return nil } -- cgit v1.2.3