use of com.symphony.api.model.StreamFilter in project spring-bot by finos.
the class SymphonyConversationsImpl method getAllChats.
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public Set<Chat> getAllChats() {
StreamType st = new StreamType().type(TypeEnum.ROOM);
StreamFilter streamTypes = new StreamFilter().streamTypes(Collections.singletonList(st));
return (Set<Chat>) (Set) getAllConversationsFiltered(streamTypes);
}
Aggregations