Skip to content

Conversation

hackmud-dtr
Copy link
Contributor

With the new-ish time-gate on after, a user who doesn't get many chats but continues to request after:date of last chat will eventually get locked out of new chats.
Previously, this used local dates to try to avoid that, but local dates need not correlate at all to server dates. This patch uses server dates from the date header where possible, falling back to local dates only if necessary.
This should make it more reliably avoid drifting and getting stuck without chats forever.

With the new-ish time-gate on after, a user who doesn't get many chats but continues to request after:date of last chat will eventually get locked out of new chats.
Previously, this used local dates to try to avoid that, but local dates need not correlate at all to server dates. This patch uses server dates from the date header where possible, falling back to local dates only if necessary.
This should make it more reliably avoid drifting and getting stuck without chats forever.
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