eventBus.fireEventFromSource(new PresenceReceivedEvent(presence), this);
}
protected void receiveMessage(final Message message) {
if (message.getSubject() != null) {
eventBus.fireEventFromSource(new RoomSubjectChangedEvent(message.getFrom(), message.getSubject()), this);
return;
}
eventBus.fireEventFromSource(new BeforeMessageReceivedEvent(message), this);
eventBus.fireEventFromSource(new MessageReceivedEvent(message), this);