Pass RoomID to gmsl.PerformJoin

This commit is contained in:
Devon Hudson 2023-04-27 18:34:43 -06:00
parent 6171310307
commit d23d0369cc
No known key found for this signature in database
GPG key ID: CD06B18E77F6A628
3 changed files with 8 additions and 14 deletions

View file

@ -150,10 +150,14 @@ func (r *FederationInternalAPI) performJoinUsingServer(
if err != nil {
return err
}
room, err := spec.NewRoomID(roomID)
if err != nil {
return err
}
joinInput := gomatrixserverlib.PerformJoinInput{
UserID: user,
RoomID: roomID,
RoomID: room,
ServerName: serverName,
Content: content,
Unsigned: unsigned,