@Deprecated
    public Observable<ComapiResult<List<ConversationDetails>>> getConversations(@NonNull final Scope scope) {

        final String token = getToken();

        if (sessionController.isCreatingSession()) {
            return getTaskQueue().queueGetConversations(scope);
        } else if (TextUtils.isEmpty(token)) {
            return Observable.error(getSessionStateErrorDescription());
        } else {
            return doGetConversations(token, dataMgr.getSessionDAO().session().getProfileId(), scope).map(result -> {
                List<ConversationDetails> newList = new ArrayList<>();
                List<Conversation> oldList = result.getResult();
                if (oldList != null && !oldList.isEmpty()) {
                    newList.addAll(oldList);
                }
                return new ComapiResult<>(result, newList);
            });
        }
    }
@ Deprecated public Observable < ComapiResult < List < ConversationDetails > > > getConversations ( @ NonNull final Scope scope ) { final String token = getToken ( ) ; if ( sessionController . isCreatingSession ( ) ) { return getTaskQueue ( ) . queueGetConversations ( scope ) ; } else if ( TextUtils . isEmpty ( token ) ) { return Observable . error ( getSessionStateErrorDescription ( ) ) ; } else { return doGetConversations ( token , dataMgr . getSessionDAO ( ) . session ( ) . getProfileId ( ) , scope ) . map ( result -> { List < ConversationDetails > newList = new ArrayList < > ( ) ; List < Conversation > oldList = result . getResult ( ) ; if ( oldList != null && ! oldList . isEmpty ( ) ) { newList . addAll ( oldList ) ; } return new ComapiResult < > ( result , newList ) ; } ) ; } }
Returns observable to get all visible conversations.

@param scope {@link Scope} of the query
@return Observable to to create a conversation.
@deprecated Please use {@link InternalService#getConversations(boolean)} instead.