mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-22 20:19:35 +01:00
Support mattermost v7 (#1852)
Mattermost api (almost) didn't change between v6.7.x and v7.0 Everything should just work
This commit is contained in:
parent
4649876956
commit
d07a3e09c9
@ -52,7 +52,7 @@ func (b *Bmattermost) Connect() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if strings.HasPrefix(b.getVersion(), "6.") {
|
if strings.HasPrefix(b.getVersion(), "6.") || strings.HasPrefix(b.getVersion(), "7.") {
|
||||||
if !b.v6 {
|
if !b.v6 {
|
||||||
b.v6 = true
|
b.v6 = true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user