From 089d64d271b5fca8c104e1554711187420dbebca Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 21 Jan 2022 13:44:39 +0000 Subject: [PATCH] Use given event kind when sending auth/state events --- roomserver/api/wrapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roomserver/api/wrapper.go b/roomserver/api/wrapper.go index 63526b7b..dd547efb 100644 --- a/roomserver/api/wrapper.go +++ b/roomserver/api/wrapper.go @@ -63,7 +63,7 @@ func SendEventWithState( continue } ires = append(ires, InputRoomEvent{ - Kind: KindOutlier, + Kind: kind, Event: outlier.Headered(event.RoomVersion), Origin: origin, AuthEventIDs: outlier.AuthEventIDs(),