From f9e0c58f3c0e90b987b7763f020ea5dcbf366779 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 9 Mar 2020 17:41:53 +0100 Subject: Fix revUserId (messenger) and implement search (messenger only for now) --- connector/xmpp/xmpp.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'connector/xmpp') 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 { -- cgit v1.2.3