From e5d2b23ad0fe2f492a25bf176c26874b90c7d444 Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Thu, 23 Nov 2023 11:26:23 +0100 Subject: [PATCH] Revert changes --- federationapi/routing/leave.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/federationapi/routing/leave.go b/federationapi/routing/leave.go index 636ade748..57d75ad21 100644 --- a/federationapi/routing/leave.go +++ b/federationapi/routing/leave.go @@ -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: