better comment

This commit is contained in:
Matthew Hodgson 2016-05-17 20:32:38 +01:00
parent 7879be1704
commit 24adf2847e

View file

@ -404,7 +404,7 @@ var TimelinePanel = React.createClass({
if (this.getScrollState().stuckAtBottom) { if (this.getScrollState().stuckAtBottom) {
this.props.room.setUnreadNotificationCount('total', 0); this.props.room.setUnreadNotificationCount('total', 0);
this.props.room.setUnreadNotificationCount('highlight', 0); this.props.room.setUnreadNotificationCount('highlight', 0);
// XXX: i'm a bit surprised we don't have to emit an event or dispatch to make the echo picked up // XXX: i'm a bit surprised we don't have to emit an event or dispatch to get this picked up
} }
var currentReadUpToEventId = this._getCurrentReadReceipt(true); var currentReadUpToEventId = this._getCurrentReadReceipt(true);