summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bridge/slack/slack.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go
index 9c9f3fc3..cc03e9ed 100644
--- a/bridge/slack/slack.go
+++ b/bridge/slack/slack.go
@@ -79,7 +79,9 @@ func (b *Bslack) JoinChannel(channel string) error {
}
_, err := b.sc.JoinChannel(channel)
if err != nil {
- return err
+ if err.Error() != "name_taken" {
+ return err
+ }
}
}
return nil