implement basic local echo for resetting unread message count when opening a room without a scroll offset. hopefully largely fixes https://github.com/vector-im/vector-web/issues/967

This commit is contained in:
Matthew Hodgson 2016-05-17 20:28:11 +01:00
parent fd09d5c570
commit 7879be1704
3 changed files with 10 additions and 4 deletions

View file

@ -56,7 +56,7 @@ if (DEBUG_SCROLL) {
* offset. We don't save the absolute scroll offset, because that would be
* affected by window width, zoom level, amount of scrollback, etc. Instead
* we save an identifier for the last fully-visible message, and the number
* of pixels the window was scrolled below it - which is hopefully be near
* of pixels the window was scrolled below it - which is hopefully near
* enough.
*
* The 'stickyBottom' property controls the behaviour when we reach the bottom