Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed timeline issue and rangeQuery #144

Merged
merged 2 commits into from
Jun 21, 2024
Merged

Conversation

UVNishanth
Copy link
Collaborator

No description provided.

@UVNishanth UVNishanth requested a review from breed June 20, 2024 23:43
var predicate = qStatus.content.isNotNull();
predicate = addRangeQueries(predicate, max_id, since_id, max_id);
var external = externalStatusRepository.findAll(predicate, Sort.by(Sort.Direction.DESC, "id"))
.flatMap(statuses -> filterStatusByViewable(user, statuses, isFollowingTimeline)).take(limit);
var internal = statusRepository.findAll(predicate, Sort.by(Sort.Direction.DESC, "id"))
.flatMap(statuses -> filterStatusByViewable(user, statuses, isFollowingTimeline)).take(limit);
//.switchIfEmpty(Mono.fromRunnable(() -> System.out.println("No status found")))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed commented lines.

@UVNishanth UVNishanth merged commit 6d1b732 into main Jun 21, 2024
1 of 2 checks passed
@UVNishanth UVNishanth deleted the bugfix/timeline-not-visible branch June 21, 2024 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants