if (!isConfigured()) { Iterator<Message> history = roomHistory.getMessageHistory(); while (history.hasNext()) { if (getMaxChars() == 0) { if (getMaxChars() > -1 && accumulatedChars > getMaxChars()) { if (getMaxStanzas() > -1 && accumulatedStanzas > getMaxStanzas()) { if (getSeconds() > -1 || getSince() != null) { delayInformation = message.getChildElement("delay", "urn:xmpp:delay"); try { if (getSince() != null && delayedDate != null && delayedDate.before(getSince())) { if (getSeconds() > -1) { Date current = new Date(); long diff = (current.getTime() - delayedDate.getTime()) / 1000; if (getSeconds() <= diff) {
historyRequest.sendHistory(joinRole, roomHistory);
password = mucInfo.elementTextTrim("password"); if (mucInfo.element("history") != null) { historyRequest = new HistoryRequest(mucInfo);
password = mucInfo.elementTextTrim("password"); if (mucInfo.element("history") != null) { historyRequest = new HistoryRequest(mucInfo);
if (!isConfigured()) { Iterator<Message> history = roomHistory.getMessageHistory(); while (history.hasNext()) { if (getMaxChars() == 0) { if (getMaxChars() > -1 && accumulatedChars > getMaxChars()) { if (getMaxStanzas() > -1 && accumulatedStanzas > getMaxStanzas()) { if (getSeconds() > -1 || getSince() != null) { delayInformation = message.getChildElement("delay", "urn:xmpp:delay"); try { if (getSince() != null && delayedDate != null && delayedDate.before(getSince())) { if (getSeconds() > -1) { Date current = new Date(); long diff = (current.getTime() - delayedDate.getTime()) / 1000; if (getSeconds() <= diff) {
historyRequest.sendHistory(joinRole, roomHistory);