ignore click for the current topic in found contacts

This commit is contained in:
or-else
2018-09-21 13:09:59 +03:00
parent c56c91afce
commit 15393198be
3 changed files with 18 additions and 26 deletions
+5 -3
View File
@@ -4847,12 +4847,14 @@ class TinodeWeb extends React.Component {
errorText: '',
errorLevel: null,
mobilePanel: 'topic-view',
topicSelectedOnline: online,
topicSelectedAcs: acs,
showInfoPanel: false
});
// Contact selected
// Different contact selected.
if (this.state.topicSelected != topicName) {
this.setState({
topicSelectedOnline: online,
topicSelectedAcs: acs
});
navigateTo(setUrlTopic("", topicName));
}
} else {