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

Always use stored last viewed at if present #424

Closed
wants to merge 1 commit into from

Conversation

hloeung
Copy link
Collaborator

@hloeung hloeung commented Apr 8, 2021

This partially reverts commit 3a0d0b3. We can't trust that Mattermost has updated the last viewed for channel which is why we store the LastViewedAt internally (see #361 and #245).

Apologies @42wim

@hloeung hloeung force-pushed the cleanup branch 3 times, most recently from 83659db to 54f6dc9 Compare April 8, 2021 01:16
This partially reverts commit 3a0d0b3. We can't trust that Mattermost
has updated the last viewed for channel which is why we store the
LastViewedAt internally (see PR#361 and 42wim#245).
@hloeung hloeung marked this pull request as draft April 8, 2021 05:45
@hloeung
Copy link
Collaborator Author

hloeung commented Apr 8, 2021

Marking it as draft for now. Need to think more about it.

@hloeung
Copy link
Collaborator Author

hloeung commented Apr 8, 2021

Right, the issue was not trusting Mattermost updating the server side LastViewedAt so we'll see multiple replays of the same msgs.

Closing this off as it's not an issue then.

@hloeung hloeung closed this Apr 8, 2021
@hloeung hloeung deleted the cleanup branch May 17, 2021 22:45
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.

1 participant