diff options
author | kegsay <kegan@matrix.org> | 2023-04-28 16:00:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-28 16:00:22 +0100 |
commit | 1432743d1ad669718e8f70f4dc1f29a9762e3fc4 (patch) | |
tree | 942f6efed770f93393c8faffb3d60557c4e3710f /appservice/consumers | |
parent | d23d0369cc20957cd1e65594dc1745d98dee77c5 (diff) |
Use PDU in more places (#3072)
Diffstat (limited to 'appservice/consumers')
-rw-r--r-- | appservice/consumers/roomserver.go | 2 |
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 { |