@Override public void run() { ChatRoom chatRoom = chatRoomWrapper.getChatRoom(); if (chatRoom != null) { ChatRoomWrapper leavedRoomWrapped = MUCActivator.getMUCService().leaveChatRoom(chatRoomWrapper); if (leavedRoomWrapped != null) MUCActivator.getUIService().closeChatRoomWindow(leavedRoomWrapped); } MUCActivator.getUIService().closeChatRoomWindow(chatRoomWrapper); MUCActivator.getMUCService().removeChatRoom(chatRoomWrapper); }
@Override public void run() { MUCActivator.getUIService() .showChatRoomAutoOpenConfigDialog( chatRoomWrapper.getParentProvider().getProtocolProvider(), chatRoomWrapper.getChatRoomID()); }