diff --git a/src/client/action/room.js b/src/client/action/room.js index 08e73e2..c887d24 100644 --- a/src/client/action/room.js +++ b/src/client/action/room.js @@ -143,6 +143,7 @@ async function create(opts) { is_direct: opts.isDirect === true, invite: opts.invite || [], initial_state: [], + preset: opts.isDirect === true ? 'trusted_private_chat' : undefined, }; if (opts.isPublic !== true && opts.isEncrypted === true) {