mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-13 18:43:14 +01:00
Signed-off-by: Alex Chen <minecnly@gmail.com>
This commit is contained in:
parent
eaf38ae87e
commit
b88112b05d
1 changed files with 4 additions and 0 deletions
|
@ -103,6 +103,10 @@ func getState(
|
||||||
return nil, resErr
|
return nil, resErr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if event.RoomID() != roomID {
|
||||||
|
return nil, &util.JSONResponse{Code: http.StatusNotFound, JSON: nil}
|
||||||
|
}
|
||||||
|
|
||||||
prevEventIDs := getIDsFromEventRef(event.PrevEvents())
|
prevEventIDs := getIDsFromEventRef(event.PrevEvents())
|
||||||
authEventIDs := getIDsFromEventRef(event.AuthEvents())
|
authEventIDs := getIDsFromEventRef(event.AuthEvents())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue