mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-06-26 17:49:23 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
d4d7fef313 | |||
4e1dc9f885 | |||
155ae80d22 | |||
c7e336efd9 |
@ -37,7 +37,7 @@ Has a REST API.
|
||||
|
||||
# Requirements
|
||||
Accounts to one of the supported bridges
|
||||
* [Mattermost](https://github.com/mattermost/platform/) 3.8.x - 3.10.x, 4.0.x - 4.2.x
|
||||
* [Mattermost](https://github.com/mattermost/platform/) 3.8.x - 3.10.x, 4.x
|
||||
* [IRC](http://www.mirc.com/servers.html)
|
||||
* [XMPP](https://jabber.org)
|
||||
* [Gitter](https://gitter.im)
|
||||
@ -54,7 +54,7 @@ See https://github.com/42wim/matterbridge/wiki
|
||||
|
||||
# Installing
|
||||
## Binaries
|
||||
* Latest stable release [v1.3.0](https://github.com/42wim/matterbridge/releases/latest)
|
||||
* Latest stable release [v1.3.1](https://github.com/42wim/matterbridge/releases/latest)
|
||||
* Development releases (follows master) can be downloaded [here](https://dl.bintray.com/42wim/nightly/)
|
||||
|
||||
## Building
|
||||
|
@ -345,6 +345,9 @@ func (b *Bslack) handleSlackClient(mchan chan *MMMessage) {
|
||||
}
|
||||
if bot.Name != "" {
|
||||
m.Username = bot.Name
|
||||
if ev.Username != "" {
|
||||
m.Username = ev.Username
|
||||
}
|
||||
m.UserID = bot.ID
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,9 @@
|
||||
# v1.3.1
|
||||
## New features
|
||||
* Support mattermost 4.3.0 and every other 4.x as api4 should be stable (mattermost)
|
||||
## Bugfix
|
||||
* Use bot username if specified (slack). Closes #273
|
||||
|
||||
# v1.3.0
|
||||
## New features
|
||||
* Relay slack_attachments from mattermost to slack (slack). Closes #260
|
||||
|
@ -11,7 +11,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
version = "1.3.0"
|
||||
version = "1.3.1"
|
||||
githash string
|
||||
)
|
||||
|
||||
|
@ -895,9 +895,7 @@ func supportedVersion(version string) bool {
|
||||
if strings.HasPrefix(version, "3.8.0") ||
|
||||
strings.HasPrefix(version, "3.9.0") ||
|
||||
strings.HasPrefix(version, "3.10.0") ||
|
||||
strings.HasPrefix(version, "4.0") ||
|
||||
strings.HasPrefix(version, "4.1") ||
|
||||
strings.HasPrefix(version, "4.2") {
|
||||
strings.HasPrefix(version, "4.") {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
Reference in New Issue
Block a user