adding channel support

This commit is contained in:
or-else
2020-07-20 12:20:38 -07:00
parent 331dea37cf
commit 0f095ceeca
16 changed files with 111 additions and 46 deletions
+2 -2
View File
@@ -63,9 +63,9 @@ class NewTopicView extends React.Component {
}
}
handleNewGroupSubmit(name, dataUrl, priv, tags) {
handleNewGroupSubmit(name, dataUrl, priv, tags, isChannel) {
HashNavigation.navigateTo(HashNavigation.removeUrlParam(window.location.hash, 'tab'));
this.props.onCreateTopic(undefined, vcard(name, dataUrl), priv, tags);
this.props.onCreateTopic(undefined, vcard(name, dataUrl), priv, tags, isChannel);
}
handleGroupByID(topicName) {