/** * Returns the JID of a MUC room to which responses should be sent or <tt>null</tt> if * no specific address was provided. When no specific address was provided then the reply * can be sent to any or all recipients. Otherwise, the user should join the specified room * and send the reply to the room. * * @return the JID of a MUC room to which responses should be sent or <tt>null</tt> if * no specific address was provided. */ public String getReplyRoom() { List<MultipleAddresses.Address> replyRoom = extension.getAddressesOfType(MultipleAddresses.REPLY_ROOM); return replyRoom.isEmpty() ? null : ((MultipleAddresses.Address) replyRoom.get(0)).getJid(); }
/** * Returns the JID of a MUC room to which responses should be sent or <tt>null</tt> if * no specific address was provided. When no specific address was provided then the reply * can be sent to any or all recipients. Otherwise, the user should join the specified room * and send the reply to the room. * * @return the JID of a MUC room to which responses should be sent or <tt>null</tt> if * no specific address was provided. */ public String getReplyRoom() { List replyRoom = extension.getAddressesOfType(MultipleAddresses.REPLY_ROOM); return replyRoom.isEmpty() ? null : ((MultipleAddresses.Address) replyRoom.get(0)).getJid(); }
/** * Returns the JID of a MUC room to which responses should be sent or <tt>null</tt> if * no specific address was provided. When no specific address was provided then the reply * can be sent to any or all recipients. Otherwise, the user should join the specified room * and send the reply to the room. * * @return the JID of a MUC room to which responses should be sent or <tt>null</tt> if * no specific address was provided. */ public String getReplyRoom() { List replyRoom = extension.getAddressesOfType(MultipleAddresses.REPLY_ROOM); return replyRoom.isEmpty() ? null : ((MultipleAddresses.Address) replyRoom.get(0)).getJid(); }
if (replyAddress != null && replyAddress.getJid() != null) { reply.setTo(replyAddress.getJid()); connection.sendPacket(reply); List cc = new ArrayList(); for (Iterator it = info.getTOAddresses().iterator(); it.hasNext();) { String jid = ((MultipleAddresses.Address) it.next()).getJid(); to.add(jid); String jid = ((MultipleAddresses.Address) it.next()).getJid(); cc.add(jid);
if (replyAddress != null && replyAddress.getJid() != null) { reply.setTo(replyAddress.getJid()); connection.sendPacket(reply); List<String> cc = new ArrayList<String>(); for (Iterator<MultipleAddresses.Address> it = info.getTOAddresses().iterator(); it.hasNext();) { String jid = it.next().getJid(); to.add(jid); String jid = it.next().getJid(); cc.add(jid);
if (replyAddress != null && replyAddress.getJid() != null) { reply.setTo(replyAddress.getJid()); connection.sendPacket(reply); List cc = new ArrayList(); for (Iterator it = info.getTOAddresses().iterator(); it.hasNext();) { String jid = ((MultipleAddresses.Address) it.next()).getJid(); to.add(jid); String jid = ((MultipleAddresses.Address) it.next()).getJid(); cc.add(jid);
if (replyAddress != null && replyAddress.getJid() != null) { reply.setTo(replyAddress.getJid()); connection.sendPacket(reply); List cc = new ArrayList(); for (Iterator it = info.getTOAddresses().iterator(); it.hasNext();) { String jid = ((MultipleAddresses.Address) it.next()).getJid(); to.add(jid); String jid = ((MultipleAddresses.Address) it.next()).getJid(); cc.add(jid);
/** * Returns the JID of a MUC room to which responses should be sent or <tt>null</tt> if * no specific address was provided. When no specific address was provided then the reply * can be sent to any or all recipients. Otherwise, the user should join the specified room * and send the reply to the room. * * @return the JID of a MUC room to which responses should be sent or <tt>null</tt> if * no specific address was provided. */ public String getReplyRoom() { List replyRoom = extension.getAddressesOfType(MultipleAddresses.REPLY_ROOM); return replyRoom.isEmpty() ? null : ((MultipleAddresses.Address) replyRoom.get(0)).getJid(); }