mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-09 15:04:04 +00:00
Refactor to handle disconnects/reconnects better.
Now try to reconnect every 60 seconds until forever.
This commit is contained in:
@ -77,6 +77,10 @@ func (b *Bmattermost) Connect() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (b *Bmattermost) Disconnect() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (b *Bmattermost) JoinChannel(channel string) error {
|
||||
// we can only join channels using the API
|
||||
if b.Config.UseAPI {
|
||||
|
Reference in New Issue
Block a user