this.registrationEnabled = MUCPersistenceManager.getBooleanProperty(mucService.getServiceName(), "room.registrationEnabled", true); roomHistory = new MUCRoomHistory(this, new HistoryStrategy(mucService.getHistoryStrategy())); this.iqOwnerHandler = new IQOwnerHandler(this, packetRouter); this.iqAdminHandler = new IQAdminHandler(this, packetRouter);
mucService = XMPPServer.getInstance().getMultiUserChatManager().getMultiUserChatService(subdomain); if (mucService == null) throw new IllegalArgumentException("MUC service not found for subdomain: " + subdomain); roomHistory = new MUCRoomHistory(this, new HistoryStrategy(mucService.getHistoryStrategy()));
this.registrationEnabled = MUCPersistenceManager.getBooleanProperty(mucService.getServiceName(), "room.registrationEnabled", true); roomHistory = new MUCRoomHistory(this, new HistoryStrategy(mucService.getHistoryStrategy())); this.iqOwnerHandler = new IQOwnerHandler(this, packetRouter); this.iqAdminHandler = new IQAdminHandler(this, packetRouter);
mucService = XMPPServer.getInstance().getMultiUserChatManager().getMultiUserChatService(subdomain); if (mucService == null) throw new IllegalArgumentException("MUC service not found for subdomain: " + subdomain); roomHistory = new MUCRoomHistory(this, new HistoryStrategy(mucService.getHistoryStrategy()));