Skip to content

Commit

Permalink
Support mattermost v7 (#1852)
Browse files Browse the repository at this point in the history
Mattermost api (almost) didn't change between v6.7.x and v7.0
Everything should just work
  • Loading branch information
42wim authored Jun 24, 2022
1 parent 4649876 commit d07a3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/mattermost/mattermost.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d07a3e0

Please # to comment.