Make invited direct chat user admin

This commit is contained in:
N-Pex 2023-03-14 12:57:56 +01:00
parent 581efefb3a
commit ab51e3dc95

View file

@ -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) => {