mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 03:30:26 +00: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
|
||||
}
|
||||
|
||||
if strings.HasPrefix(b.getVersion(), "6.") {
|
||||
if strings.HasPrefix(b.getVersion(), "6.") || strings.HasPrefix(b.getVersion(), "7.") {
|
||||
if !b.v6 {
|
||||
b.v6 = true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user