From ead6d5a25e9eca0cc9064975b2b21146ab96865f Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 13 Dec 2015 15:18:44 +0000 Subject: [PATCH] backfill on accepting invites --- src/components/structures/RoomView.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 8a865710fa..2c7b438c77 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -294,6 +294,9 @@ module.exports = React.createClass({ this.scrollToEvent(scrollState.lastDisplayedEvent, scrollState.pixelOffset); } + + // have to fill space in case we're accepting an invite + if (!this.state.paginating) this.fillSpace(); }, _paginateCompleted: function() {