Fix make both user admin on DM create
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
b4d4cefe23
commit
824a7f2095
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