Skip to content

Commit

Permalink
Support mattermost v7
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 committed Jun 24, 2022
1 parent 4649876 commit 306de08
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 306de08

Please sign in to comment.