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

Fix mark all as read on Fever API via Miniflux #699

Closed
wants to merge 1 commit into from

Conversation

mbestavros
Copy link
Collaborator

@mbestavros mbestavros commented May 21, 2024

As detailed in #599, Read You's "Mark All As Read" button doesn't work when connected to Miniflux via the Fever API.

It turns out the fix is pretty simple: before, Read You was sending a before: timestamp of Long.MAX_VALUE. This produced a truly enormous epoch value, and it's possible Miniflux was just not interpreting it properly.

Changing the value to the current Unix time fixes the issue on Miniflux, and should remain functional for all other backends too. (It also just makes more logical sense.)

Tagging @Ashinch @JunkFood02 for review.

Signed-off-by: Mark Bestavros <markbest@bu.edu>
@mbestavros mbestavros changed the title Fix mark all as read on Fever API Fix mark all as read on Fever API via Miniflux May 21, 2024
@Ashinch
Copy link
Owner

Ashinch commented May 21, 2024

There could be future articles in the feed, and perhaps this method won’t be able to mark them as read.

@mbestavros
Copy link
Collaborator Author

@Ashinch I realized that this morning 😅

Closing and following up on the linked issue.

@mbestavros mbestavros closed this May 21, 2024
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.

None yet

2 participants