You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to manipulate user roster with escalus API.
After diving a little bit in Escalus code I found some functions that have relations with my need like:
I have a doubt if my stanza element is well formatted, also I have another question about getting roster items, Should I use escalus_pred:get_roster_items ?
The text was updated successfully, but these errors were encountered:
hamdijmii1992
changed the title
[ Roster] How can manipulate user roster ?
[ Roster] How I can manipulate user roster ?
Dec 14, 2016
hamdijmii1992
changed the title
[ Roster] How I can manipulate user roster ?
[ Roster] How can I manipulate user roster ?
Dec 14, 2016
I tried to manipulate user roster with escalus API.
After diving a little bit in Escalus code I found some functions that have relations with my need like:
I tried for example to use one of them to count roster item as follows:
escalus_pred:count_roster_items(0,{xmlel,<<"iq">>,[{<<"type">>,<<"get">>},{<<"id">>,<<"230c60e893af03efbcf2fed3b8cdd585">>}],[{xmlel,<<"query">>,[{<<"from">>,<<"carol@localhost">>},{<<"xmlns">>,<<"jabber:iq:roster">>}],[]}]}).
I have a doubt if my stanza element is well formatted, also I have another question about getting roster items, Should I use escalus_pred:get_roster_items ?
The text was updated successfully, but these errors were encountered: