mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-28 17:23:09 -06:00
fix
Signed-off-by: Meenal Trivedi <meenaltrivedi6102@gmail.com>
This commit is contained in:
parent
3324fbd820
commit
dee8a19121
|
|
@ -37,8 +37,8 @@ func InviteV2(
|
|||
cfg *config.FederationAPI,
|
||||
rsAPI api.RoomserverInternalAPI,
|
||||
keys gomatrixserverlib.JSONVerifier,
|
||||
) util.JSONResponse {git
|
||||
|
||||
) util.JSONResponse {
|
||||
|
||||
inviteReq := gomatrixserverlib.InviteV2Request{}
|
||||
// Check to see if the room_version is supported
|
||||
if _, err := roomserverVersion.SupportedRoomVersion(inviteReq.RoomVersion()); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue