Fix make both user admin on DM create
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
6c97d08027
commit
1bd58a0103
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue