From 40b1b99c38b83c2a3323b335e955e7bab9934927 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 14 Jun 2016 14:40:03 +0100 Subject: [PATCH] underscore prefix internal method --- src/components/structures/RoomView.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 2ff7ed1cbd..e1b4c00175 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -159,7 +159,7 @@ module.exports = React.createClass({ roomId: result.room_id, roomLoading: !room, hasUnsentMessages: this._hasUnsentMessages(room), - }, this.updatePeeking); + }, this._updatePeeking); }, (err) => { this.setState({ roomLoading: false, @@ -172,11 +172,11 @@ module.exports = React.createClass({ room: room, roomLoading: !room, hasUnsentMessages: this._hasUnsentMessages(room), - }, this.updatePeeking); + }, this._updatePeeking); } }, - updatePeeking: function() { + _updatePeeking: function() { // if this is an unknown room then we're in one of three states: // - This is a room we can peek into (search engine) (we can /peek) // - This is a room we can publicly join or were invited to. (we can /join)