Revert changes

This commit is contained in:
Till Faelligen 2023-11-23 11:26:23 +01:00
parent 94d2074eb5
commit e5d2b23ad0
No known key found for this signature in database
GPG key ID: ACCDC9606D472758

View file

@ -189,9 +189,8 @@ func SendLeave(
}
}
leaveEvent, err := verImpl.HandleSendLeave(
httpReq.Context(), incomingEvent, request.Origin(), eventID, roomID, rsAPI, keys,
)
leaveEvent, err := gomatrixserverlib.HandleSendLeave(
httpReq.Context(), incomingEvent, request.Origin(), roomVersion, eventID, roomID, rsAPI, keys)
switch e := err.(type) {
case nil: