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 requesting last messages when no message id
is known
#1519
Conversation
Hahahaha. That's brilliant. But that does lead us to a question ... what is the purpose of clear? I would say either it would clear both client and server side, and therefore have no way to get the stuff back, or it is a pointless feature. Thoughts? |
I don't know either, it sounds like it should clear server buffer too. |
I have tried a few things to reproduce this, and nothing worked. Ideally, we would want to be able to set the Because this is not doable (unless someone has a genius idea), I'd be in favor of removing it. So yeah, until then, I think we should just remove it if there is no way to fix it without drastically changing its behavior. |
Regardless of this clear command bug, this PR fixes the issue on its own, the fact it loads history on clear is a different story, so this can be merged. |
That's fair. Is the |
id
is known
Fixes #1460.
However there's another bug. When doing
/clear
, the show more button jumps into view, thus IntersectionObserver calls observe on the button, and it loads last history again.