}
@Override
public void onMessageReceived(final MessageReceivedEvent event) {
final Message message = event.getMessage();
final ChatState state = getStateFromMessage(message);
if (state != null) {
final XmppURI from = message.getFrom();
othersState.put(from, state);
eventBus.fireEventFromSource(new RoomChatStateNotificationEvent(message.getFrom(), state), this);
}