mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
Use known room id for local management oroms
This commit is contained in:
parent
cb850e3f02
commit
2163dea91f
1 changed files with 3 additions and 2 deletions
|
|
@ -220,8 +220,9 @@ func (user *User) GetManagementRoom(ctx context.Context) (id.RoomID, error) {
|
|||
user.MXID: 50,
|
||||
},
|
||||
},
|
||||
Invite: []id.UserID{user.MXID},
|
||||
IsDirect: true,
|
||||
BeeperLocalRoomID: id.RoomID(fmt.Sprintf("!management:%s", user.Bridge.Matrix.ServerName())),
|
||||
Invite: []id.UserID{user.MXID},
|
||||
IsDirect: true,
|
||||
}
|
||||
if autoJoin {
|
||||
req.BeeperInitialMembers = []id.UserID{user.MXID}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue