always return a promise in PostStream#update

This commit is contained in:
David Sevilla Martín 2018-03-18 20:37:04 -04:00 committed by GitHub
parent 8d2d987680
commit 6ea60248e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ class PostStream extends Component {
* @public * @public
*/ */
update() { update() {
if (!this.viewingEnd) return; if (!this.viewingEnd) return Promise.resolve();
this.visibleEnd = this.count(); this.visibleEnd = this.count();