relayStanza(occupant.getJid(), presenceToRemaining, serverRuntimeContext);
}
}
} else if(requestAllow == null) {
// no request allow, treat as voice request
VoiceRequestForm requestForm = new VoiceRequestForm(from, sendingOccupant.getNick());
for(Occupant moderator : room.getModerators()) {
Stanza request = StanzaBuilder.createMessageStanza(room.getJID(), moderator.getJid(), null, null)
.addPreparedElement(requestForm.createFormXML()).build();
relayStanza(moderator.getJid(), request, serverRuntimeContext);
}
}
}