()
| 77 | } |
| 78 | |
| 79 | public void cmdOk() { |
| 80 | String room = (String) conferences.elementAt(conferenceList.getSelectedIndex()); |
| 81 | String rs = reason.getValue(); |
| 82 | |
| 83 | Message inviteMsg = new Message(room); |
| 84 | JabberDataBlock x = inviteMsg.addChildNs("x", Conference.NS_MUC + "#user"); |
| 85 | JabberDataBlock invite = x.addChild("invite", null); |
| 86 | String invited = (contact instanceof MucContact) ? ((MucContact) contact).realJid.toString() : contact.jid.getBare(); |
| 87 | |
| 88 | invite.setAttribute("to", invited); |
| 89 | |
| 90 | invite.addChild("reason", rs); |
| 91 | StaticData.getInstance().getTheStream().send(inviteMsg); |
| 92 | parentView = sd.roster; |
| 93 | destroyView(); |
| 94 | } |
| 95 | } |
nothing calls this directly
no test coverage detected