aboutsummaryrefslogtreecommitdiff
path: root/setup/mscs
diff options
context:
space:
mode:
authorkegsay <kegan@matrix.org>2023-04-28 16:00:22 +0100
committerGitHub <noreply@github.com>2023-04-28 16:00:22 +0100
commit1432743d1ad669718e8f70f4dc1f29a9762e3fc4 (patch)
tree942f6efed770f93393c8faffb3d60557c4e3710f /setup/mscs
parentd23d0369cc20957cd1e65594dc1745d98dee77c5 (diff)
Use PDU in more places (#3072)
Diffstat (limited to 'setup/mscs')
-rw-r--r--setup/mscs/msc2836/msc2836.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/mscs/msc2836/msc2836.go b/setup/mscs/msc2836/msc2836.go
index 38412fa2..877a4a60 100644
--- a/setup/mscs/msc2836/msc2836.go
+++ b/setup/mscs/msc2836/msc2836.go
@@ -95,7 +95,7 @@ type MSC2836EventRelationshipsResponse struct {
func toClientResponse(res *MSC2836EventRelationshipsResponse) *EventRelationshipResponse {
out := &EventRelationshipResponse{
- Events: synctypes.ToClientEvents(res.ParsedEvents, synctypes.FormatAll),
+ Events: synctypes.ToClientEvents(gomatrixserverlib.ToPDUs(res.ParsedEvents), synctypes.FormatAll),
Limited: res.Limited,
NextBatch: res.NextBatch,
}