addEvent(CONVERSATION_DOMAIN, new UserJoinEvent(aContact, theChannel));
setEventFilter(CONVERSATION_DOMAIN, new ChannelEventFilter(aChannelName));
}
private void leaveInternal(String aContact) {
Channel theChannel = myChannelManager.getChannel(aContact);
if(theChannel != null) {
theChannel.removeContact(aContact);
addEvent(CONVERSATION_DOMAIN, new UserLeaveEvent(aContact, theChannel));
if(theChannel.getContacts().isEmpty()) {
closeChannel(aContact, theChannel.getName());
}
}
}