another fix for #124

This commit is contained in:
or-else
2023-04-25 12:31:07 -07:00
parent 2b7c80ef2d
commit 5d56c17128
20 changed files with 55 additions and 41 deletions
+1 -1
View File
@@ -1334,7 +1334,7 @@ class TinodeWeb extends React.Component {
const params = {};
if (Tinode.isP2PTopicName(topicName)) {
// Because we are initialing the subscription, set 'want' to all permissions.
// Because we are initiating the subscription, set 'want' to all permissions.
params.sub = {mode: DEFAULT_P2P_ACCESS_MODE};
// Give the other user all permissions too.
params.desc = {defacs: {auth: DEFAULT_P2P_ACCESS_MODE}};