public class ContactAttributesIQ extends IQ {
private String childElementXML = “<query xmlns=“jabber:iq:roster” xmlns:gr=“google:roster” gr:ext=“2”/>”; @Override
public String getChildElementXML() {
return childElementXML;
}
}
So after sending this packet I recive the contact list, but the attributes I am interested in (e.g. gr:t=‘B’ gr:mc=‘82’ gr:emc=‘5’ gr:w=‘9’), such as block (t=‘B’) or hidden (t=‘H’), are missing. In fact I found that if I hide some one I don’t receive him in the list at all.
I read somewhere that the server sends the attributes correctly, but Smack takes it out. Is that true? How can I get this attributes anyway?