mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 21:02:25 +03:00
Move MakeJoin logic to GMSL (#3081)
This commit is contained in:
parent
0489d16f95
commit
67d6876857
80 changed files with 1158 additions and 494 deletions
|
@ -52,7 +52,7 @@ func (r *Admin) PerformAdminEvacuateRoom(
|
|||
return nil, err
|
||||
}
|
||||
if roomInfo == nil || roomInfo.IsStub() {
|
||||
return nil, eventutil.ErrRoomNoExists
|
||||
return nil, eventutil.ErrRoomNoExists{}
|
||||
}
|
||||
|
||||
memberNIDs, err := r.DB.GetMembershipEventNIDsForRoom(ctx, roomInfo.RoomNID, true, true)
|
||||
|
@ -240,7 +240,7 @@ func (r *Admin) PerformAdminDownloadState(
|
|||
}
|
||||
|
||||
if roomInfo == nil || roomInfo.IsStub() {
|
||||
return eventutil.ErrRoomNoExists
|
||||
return eventutil.ErrRoomNoExists{}
|
||||
}
|
||||
|
||||
fwdExtremities, _, depth, err := r.DB.LatestEventIDs(ctx, roomInfo.RoomNID)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue