commit fc25f5a33ae327dd3df07c044a9500b98bcf6a2c
Author: Wim <wim@42.be>
Date: Sat Jun 25 00:57:17 2022 +0000
diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go
index 91324be..6151dbd 100644
--- a/bridge/mattermost/mattermost.go
+++ b/bridge/mattermost/mattermost.go
@@ -527 +527 @@ 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
}