diff --git a/index.html b/index.html index ee8ce37e..d347cd9f 100644 --- a/index.html +++ b/index.html @@ -1083,7 +1083,8 @@ : + onTopicSelected={this.props.onTopicSelected} + onOnlineChange={this.props.onOnlineChange} /> : this.props.state === 'new-topic' ? @@ -2831,6 +2837,7 @@ errorLevel: null, liveConnection: navigator.onLine, topicSelected: '', + topicSelectedOnline: false, loginDisabled: false, displayMobile: (window.innerWidth <= MEDIA_BREAKPOINT), showInfoPanel: false, @@ -3038,6 +3045,11 @@ }); } }, + + handleTopicSelectedOnline: function(online) { + this.setState({topicSelectedOnline: online}); + }, + // In mobile view user requested to show sidepanel handleHideMessagesView: function() { this.setState({ @@ -3321,6 +3333,7 @@ onCreateTopic={this.handleNewTopicRequest} onNewTopic={this.handleNewTopic} onCancel={this.handleSidepanelCancel} + onOnlineChange={this.handleTopicSelectedOnline} onInitFind={this.tnInitFind} contactsSearchQuery={this.state.contactsSearchQuery} @@ -3331,6 +3344,7 @@