queryForRoster method
void
queryForRoster()
Implementation
void queryForRoster() {
var iqStanza = IqStanza(AbstractStanza.getRandomId(), IqStanzaType.GET);
var element = XmppElement();
element.name = 'query';
element.addAttribute(XmppAttribute('xmlns', 'jabber:iq:roster'));
iqStanza.addChild(element);
_myUnrespondedIqStanzas[iqStanza.id!] = Tuple2(iqStanza, null);
_connection.writeStanza(iqStanza);
}