hey all! i was wondering if the message history for a room can be turned off? if it’'s possible, what do i need to do (about the room specifications) after i create the room.
thanks.
Message was edited by: mbacarra
hey all! i was wondering if the message history for a room can be turned off? if it’'s possible, what do i need to do (about the room specifications) after i create the room.
thanks.
Message was edited by: mbacarra
nevermind, i got it already.
all you have to do is
DelayInformation history = (DelayInformation)message.getExtension(“x”, “jabber:x:delay”);
and check if history == null.