4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-26 16:39:24 +00:00

Refactor to handle disconnects/reconnects better.

Now try to reconnect every 60 seconds until forever.
This commit is contained in:
Wim
2017-02-14 21:12:02 +01:00
parent 2d16fd085e
commit 163f55f9c2
11 changed files with 99 additions and 24 deletions

View File

@ -45,6 +45,11 @@ func (b *Bgitter) Connect() error {
return nil
}
func (b *Bgitter) Disconnect() error {
return nil
}
func (b *Bgitter) JoinChannel(channel string) error {
room := channel
roomID := b.getRoomID(room)