incorrect type of "private" in new topics

This commit is contained in:
or-else
2018-09-18 16:47:46 +03:00
parent cefde649ba
commit 2fc6bebacc
+1 -1
View File
@@ -4959,7 +4959,7 @@ class TinodeWeb extends React.Component {
var topicName = peerName || this.state.tinode.newGroupTopicName();
if (!peerName) {
this.setState(
{newGroupTopicParams: {desc: {public: pub, private: priv}, tags: tags}},
{newGroupTopicParams: {desc: {public: pub, private: {comment: priv}}, tags: tags}},
() => {this.handleTopicSelected(topicName)}
);
} else {