Make invited direct chat user admin

This commit is contained in:
N-Pex 2023-03-14 12:57:56 +01:00 committed by n8fr8
parent 0d9d3e7b18
commit 61f182b152

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