This commit is contained in:
or-else
2020-11-02 11:38:41 -08:00
parent 97c8114fb7
commit 5d53899f89
9 changed files with 45 additions and 30 deletions
+2 -2
View File
@@ -1063,10 +1063,10 @@ class TinodeWeb extends React.Component {
HashNavigation.navigateTo(HashNavigation.setUrlSidePanel(window.location.hash, hash));
}
// Request to start a topic, new or selected from search results.
// Request to start a topic, new or selected from search results, or "by ID".
handleStartTopicRequest(topicName, pub, priv, tags, isChannel) {
// Check if topic is indeed new. If not, launch it.
if (topicName && this.tinode.getTopic(topicName)) {
if (topicName && this.tinode.isTopicCached(topicName)) {
this.handleTopicSelected(topicName);
return;
}