This commit is contained in:
or-else
2020-11-02 15:08:31 -08:00
parent 5d53899f89
commit 5574085a01
5 changed files with 8 additions and 10 deletions
-3
View File
@@ -2976,7 +2976,6 @@ class MessagesView extends react__WEBPACK_IMPORTED_MODULE_0___default.a.Componen
if (topic && !topic.isSubscribed() && this.props.ready && (this.state.topic != prevState.topic || !prevProps.ready)) {
const newTopic = this.props.newTopicParams && this.props.newTopicParams._topicName == this.props.topic;
console.log("new topic", newTopic, this.props.newTopicParams ? this.props.newTopicParams._topicName : '[null newTopicParams]', this.props.topic);
let getQuery = topic.startMetaQuery().withLaterDesc();
if (this.state.isSharer || newTopic && !topic.isChannel()) {
@@ -5200,8 +5199,6 @@ class TinodeWeb extends react__WEBPACK_IMPORTED_MODULE_0___default.a.Component {
}
handleTopicSelected(topicName) {
console.log("handleTopicSelected", topicName, this.state.newTopicParams);
if (this.state.newTopicParams && this.state.newTopicParams._topicName != topicName) {
this.setState({
newTopicParams: null
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+5 -4
View File
File diff suppressed because one or more lines are too long