aboutsummaryrefslogtreecommitdiff
path: root/appservice/consumers
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 /appservice/consumers
parentd23d0369cc20957cd1e65594dc1745d98dee77c5 (diff)
Use PDU in more places (#3072)
Diffstat (limited to 'appservice/consumers')
-rw-r--r--appservice/consumers/roomserver.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/appservice/consumers/roomserver.go b/appservice/consumers/roomserver.go
index 5e08a22c..d8112334 100644
--- a/appservice/consumers/roomserver.go
+++ b/appservice/consumers/roomserver.go
@@ -181,7 +181,7 @@ func (s *OutputRoomEventConsumer) sendEvents(
// Create the transaction body.
transaction, err := json.Marshal(
ApplicationServiceTransaction{
- Events: synctypes.HeaderedToClientEvents(events, synctypes.FormatAll),
+ Events: synctypes.ToClientEvents(gomatrixserverlib.ToPDUs(events), synctypes.FormatAll),
},
)
if err != nil {