diff options
author | Wim <wim@42.be> | 2022-06-25 00:57:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-25 00:57:17 +0200 |
commit | d07a3e09c97a615ce8ee28aa44c6b4f6a3d9f3a4 (patch) | |
tree | 0b4205be7e524d0be779448f85b4d932d5b5f884 /bridge | |
parent | 4649876956ab944d2a9ea8fc98c75dc8a9f5ef08 (diff) | |
download | matterbridge-msglm-d07a3e09c97a615ce8ee28aa44c6b4f6a3d9f3a4.tar.gz matterbridge-msglm-d07a3e09c97a615ce8ee28aa44c6b4f6a3d9f3a4.tar.bz2 matterbridge-msglm-d07a3e09c97a615ce8ee28aa44c6b4f6a3d9f3a4.zip |
Support mattermost v7 (#1852)
Mattermost api (almost) didn't change between v6.7.x and v7.0
Everything should just work
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/mattermost/mattermost.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go index 91324be1..6151dbdf 100644 --- a/bridge/mattermost/mattermost.go +++ b/bridge/mattermost/mattermost.go @@ -52,7 +52,7 @@ func (b *Bmattermost) Connect() error { return nil } - if strings.HasPrefix(b.getVersion(), "6.") { + if strings.HasPrefix(b.getVersion(), "6.") || strings.HasPrefix(b.getVersion(), "7.") { if !b.v6 { b.v6 = true } |