return conversation;
}
public Collection<String> getAllIds() {
return conversations.keySet();
}
<BUG>public Optional<Conversation> getBy(Member from) {
</BUG>
for (String conversationIds : conversations.keySet()) {
Conversation conversation = conversations.get(conversationIds);
<BUG>if (conversation.has(from)) {
</BUG>
return Optional.of(conversation);

return conversation;
}
public Collection<String> getAllIds() {
return conversations.keySet();
}
public Optional<Conversation> getBy(Member member) {
for (String conversationIds : conversations.keySet()) {
Conversation conversation = conversations.get(conversationIds);
if (conversation.has(member)) {
return Optional.of(conversation);
