(String transport)
| 1169 | private Vector vCardQueue; |
| 1170 | |
| 1171 | public void resolveNicknames(String transport) { |
| 1172 | vCardQueue = null; |
| 1173 | vCardQueue = new Vector(); |
| 1174 | synchronized (hContacts) { |
| 1175 | int j = hContacts.size(); |
| 1176 | for (int i = 0; i < j; i++) { |
| 1177 | Contact k = (Contact) hContacts.elementAt(i); |
| 1178 | if (JidUtils.isTransport(k.jid)) { |
| 1179 | continue; |
| 1180 | } |
| 1181 | int grpType = k.getGroupType(); |
| 1182 | if (k.jid.getServer().equals(transport) && k.nick == null && (grpType == Groups.TYPE_COMMON || grpType == Groups.TYPE_NO_GROUP)) { |
| 1183 | vCardQueue.addElement(IqVCard.query(k.getJid().toString(), "nickvc" + k.jid.getBare())); |
| 1184 | } |
| 1185 | } |
| 1186 | } |
| 1187 | setQuerySign(true); |
| 1188 | sendVCardReq(); |
| 1189 | |
| 1190 | } |
| 1191 | |
| 1192 | public void sendVCardReq() { |
| 1193 | querysign = false; |
no test coverage detected