-
Flavius Andrei
hey guys
-
Flavius Andrei
are there any more comprehensive docs about this awesome library?
-
Flavius Andrei
for example i'm not exactly sure if i'm doing this search right...
-
Flavius Andrei
this.client.sendIQ({
type: 'set',
to: 'users.xmpp.server.com',
search: {
form: {
type: 'submit',
element: 'query',
fields: [{
type: 'text-single',
name: 'fn',
value: `${term}*`
}],
namespace: 'jabber:iq:search',
path: 'iq.search'
},
}
})
-
Flavius Andrei
tough it works
-
Flavius Andrei
and i was wondering if there's any way to add paging to it
-
Flavius Andrei
ejabberd (which i'm using) and also stanzajs both support xep-0059…
-
Lance
hi Flavius
-
Lance
catching up here
-
Lance
in that search object, you can drop the element, namespace, and path keys. those aren't going to do anything there
-
Lance
it doesn't look like i've got paging hooked into search results yet
-
Lance
Ok, stanza v12.8.0 has paging defined for user search
-
Lance
https://gist.github.com/legastero/be4603a059d80a421293b61e972039e7