Make invited direct chat user admin
This commit is contained in:
parent
0d9d3e7b18
commit
61f182b152
1 changed files with 1 additions and 0 deletions
|
|
@ -770,6 +770,7 @@ export default {
|
|||
return this.matrixClient
|
||||
.createRoom(createRoomOptions)
|
||||
.then(({ room_id, room_alias }) => {
|
||||
this.makeAdmin(room_id, userId); // Make the other user an equal
|
||||
resolve(this.getRoom(room_alias || room_id));
|
||||
})
|
||||
.catch((error) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue