code: Observable<ChatResult> handleMessageStatusToUpdate(String conversationId, List<MessageStatusUpdate> msgStatusList, ComapiResult<Void> result) {
          if (result.isSuccessful() && msgStatusList != null && !msgStatusList.isEmpty()) {
              return persistenceController.upsertMessageStatuses(conversationId, getProfileId(), msgStatusList).map(success -> adapter.adaptResult(result, success));
          } else {
              return Observable.fromCallable(() -> adapter.adaptResult(result));
          }
      }
docs: Handles message status update service response.
  
  @param msgStatusList List of message status updates to process.
  @param result        Service call response.
  @return Observable emitting result of operations.