diff options
author | Alex Auvolat <alex@adnab.me> | 2020-03-09 17:41:53 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-03-09 17:41:53 +0100 |
commit | f9e0c58f3c0e90b987b7763f020ea5dcbf366779 (patch) | |
tree | da02fdd4d02ec2631736757e3fc2cf8dbbd3e2d5 /connector/xmpp/xmpp.go | |
parent | 0d6fa02a782a5679716a0244098697af756d0699 (diff) | |
download | easybridge-f9e0c58f3c0e90b987b7763f020ea5dcbf366779.tar.gz easybridge-f9e0c58f3c0e90b987b7763f020ea5dcbf366779.zip |
Fix revUserId (messenger) and implement search (messenger only for now)
Diffstat (limited to 'connector/xmpp/xmpp.go')
-rw-r--r-- | connector/xmpp/xmpp.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/connector/xmpp/xmpp.go b/connector/xmpp/xmpp.go index 1f77fdf..483c75e 100644 --- a/connector/xmpp/xmpp.go +++ b/connector/xmpp/xmpp.go @@ -306,6 +306,11 @@ func (xm *XMPP) Leave(roomId RoomID) { xm.conn.LeaveMUC(string(roomId)) } +func (xm *XMPP) SearchForUsers(query string) ([]UserSearchResult, error) { + // TODO: search roster + return nil, fmt.Errorf("Not implemented") +} + func (xm *XMPP) Send(event *Event) (string, error) { if event.Attachments != nil && len(event.Attachments) > 0 { for _, at := range event.Attachments { |