Use given event kind when sending auth/state events

This commit is contained in:
Neil Alexander 2022-01-21 13:44:39 +00:00
parent 75cfec95e2
commit 089d64d271
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944
1 changed files with 1 additions and 1 deletions

View File

@ -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(),