aboutsummaryrefslogtreecommitdiff
path: root/connector/mattermost
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-10-04 21:20:22 +0200
committerAlex Auvolat <alex@adnab.me>2020-10-04 21:20:22 +0200
commit07f9f640f0f18541760adb8746cd563a504d6609 (patch)
tree5e8bc029ace33b826d63546677096a65fc570732 /connector/mattermost
parent7130c7b7d6d0c4f49229df33825e2861eb463457 (diff)
downloadeasybridge-07f9f640f0f18541760adb8746cd563a504d6609.tar.gz
easybridge-07f9f640f0f18541760adb8746cd563a504d6609.zip
Looks like 2FA works in facebook messenger :o
Diffstat (limited to 'connector/mattermost')
-rw-r--r--connector/mattermost/mattermost.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/connector/mattermost/mattermost.go b/connector/mattermost/mattermost.go
index 9f8bbaf..86bf6b5 100644
--- a/connector/mattermost/mattermost.go
+++ b/connector/mattermost/mattermost.go
@@ -334,6 +334,10 @@ func (mm *Mattermost) Send(event *Event) (string, error) {
return created_post.Id, nil
}
+func (mm *Mattermost) UserCommand(cm string) {
+ mm.handler.SystemMessage("Command not supported.")
+}
+
func (mm *Mattermost) Close() {
if mm.conn != nil {
mm.conn.WsQuit = true