public List<Presence> getPresence(Iterable<JID> jabberIds, JID fromJid) {
checkArgument(jabberIds != null, "Jabber ID list cannot be null");
BulkPresenceRequest request = new BulkPresenceRequest();
for (JID jabberId : jabberIds) {
request.addJid(jabberId.getId());
}
checkArgument(request.jids().size() != 0, "Jabber ID list cannot be empty");
if (fromJid != null) {