mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-06-27 22:39:25 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
02d7e2db65 | |||
f935c573e9 |
@ -42,7 +42,7 @@ Accounts to one of the supported bridges
|
|||||||
# Installing
|
# Installing
|
||||||
## Binaries
|
## Binaries
|
||||||
Binaries can be found [here] (https://github.com/42wim/matterbridge/releases/)
|
Binaries can be found [here] (https://github.com/42wim/matterbridge/releases/)
|
||||||
* Latest release [v0.10.2](https://github.com/42wim/matterbridge/releases/latest)
|
* Latest release [v0.10.3](https://github.com/42wim/matterbridge/releases/latest)
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
Go 1.6+ is required. Make sure you have [Go](https://golang.org/doc/install) properly installed, including setting up your [GOPATH] (https://golang.org/doc/code.html#GOPATH)
|
Go 1.6+ is required. Make sure you have [Go](https://golang.org/doc/install) properly installed, including setting up your [GOPATH] (https://golang.org/doc/code.html#GOPATH)
|
||||||
|
@ -73,6 +73,10 @@ func (b *Bslack) Disconnect() error {
|
|||||||
func (b *Bslack) JoinChannel(channel string) error {
|
func (b *Bslack) JoinChannel(channel string) error {
|
||||||
// we can only join channels using the API
|
// we can only join channels using the API
|
||||||
if b.Config.UseAPI {
|
if b.Config.UseAPI {
|
||||||
|
if strings.HasPrefix(b.Config.Token, "xoxb") {
|
||||||
|
// TODO check if bot has already joined channel
|
||||||
|
return nil
|
||||||
|
}
|
||||||
_, err := b.sc.JoinChannel(channel)
|
_, err := b.sc.JoinChannel(channel)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# v0.10.3
|
||||||
|
## Bugfix
|
||||||
|
* slack: Allow bot tokens for now without warning (slack). Closes #140 (fixes user_is_bot message on channel join)
|
||||||
|
|
||||||
# v0.10.2
|
# v0.10.2
|
||||||
## New features
|
## New features
|
||||||
* general: gops agent added. Allows for more debugging. See #134
|
* general: gops agent added. Allows for more debugging. See #134
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
version = "0.10.2"
|
version = "0.10.3"
|
||||||
githash string
|
githash string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user