aboutsummaryrefslogtreecommitdiff
path: root/connector/mattermost/mattermost.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-05-04 18:36:55 +0200
committerAlex Auvolat <alex@adnab.me>2020-05-04 18:36:55 +0200
commitaa6c5628e9b48303826ee0fa5fbb826e2c6cf54f (patch)
tree22ac40893f06ce91f0755844a4e70197925a5da5 /connector/mattermost/mattermost.go
parent1d54a50c31cb788bf786397ea5664bd02bfe36fb (diff)
downloadeasybridge-aa6c5628e9b48303826ee0fa5fbb826e2c6cf54f.tar.gz
easybridge-aa6c5628e9b48303826ee0fa5fbb826e2c6cf54f.zip
Notify user of stuff going on in backends (not done for FB Messenger)
Diffstat (limited to 'connector/mattermost/mattermost.go')
-rw-r--r--connector/mattermost/mattermost.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/connector/mattermost/mattermost.go b/connector/mattermost/mattermost.go
index 5ec76d0..c42521f 100644
--- a/connector/mattermost/mattermost.go
+++ b/connector/mattermost/mattermost.go
@@ -345,7 +345,7 @@ func (mm *Mattermost) Close() {
}
func (mm *Mattermost) handleConnected() {
- log.Debugf("(Re-)connected to mattermost: %s@%s ; doing channel sync\n", mm.username, mm.server)
+ mm.handler.SystemMessage(fmt.Sprintf("(Re-)connected to mattermost (%s@%s), doing channel sync", mm.username, mm.server))
// Initial channel sync
chans := mm.conn.GetChannels()