aboutsummaryrefslogtreecommitdiff
path: root/connector/mattermost
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-03-09 17:41:53 +0100
committerAlex Auvolat <alex@adnab.me>2020-03-09 17:41:53 +0100
commitf9e0c58f3c0e90b987b7763f020ea5dcbf366779 (patch)
treeda02fdd4d02ec2631736757e3fc2cf8dbbd3e2d5 /connector/mattermost
parent0d6fa02a782a5679716a0244098697af756d0699 (diff)
downloadeasybridge-f9e0c58f3c0e90b987b7763f020ea5dcbf366779.tar.gz
easybridge-f9e0c58f3c0e90b987b7763f020ea5dcbf366779.zip
Fix revUserId (messenger) and implement search (messenger only for now)
Diffstat (limited to 'connector/mattermost')
-rw-r--r--connector/mattermost/mattermost.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/connector/mattermost/mattermost.go b/connector/mattermost/mattermost.go
index 9410126..4490f2a 100644
--- a/connector/mattermost/mattermost.go
+++ b/connector/mattermost/mattermost.go
@@ -253,6 +253,11 @@ func (mm *Mattermost) Leave(roomId RoomID) {
// Not supported? TODO
}
+func (mm *Mattermost) SearchForUsers(query string) ([]UserSearchResult, error) {
+ // TODO
+ return nil, fmt.Errorf("Not implemented")
+}
+
func (mm *Mattermost) Send(event *Event) (string, error) {
post := &model.Post{
Message: event.Text,