if (!maybeMember.isPresent()) {
return;
}
Member member = maybeMember.get();
Optional<Conversation> maybeConvers = conversations.getBy(member);
<BUG>if (maybeConvers.isPresent()) {
maybeConvers.get().left(member);
} else {
member.markLeft();
}
}</BUG>
public void handleError(Session session, Throwable exception) {

if (!maybeMember.isPresent()) {
return;
}
Member member = maybeMember.get();
Optional<Conversation> maybeConvers = conversations.getBy(member);
if (maybeConvers.isPresent()) {
resolver.resolve("left").executeMessage(InternalMessage.create().from(member).build());
}
members.unregister(session.getId());
}
public void handleError(Session session, Throwable exception) {
