From 0005f5c1aec0f9ffb76ad6dba709f23197375234 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 12 Jan 2022 11:39:18 +0000 Subject: [PATCH] Don't return `pdus` key on federation `/send` (as per matrix-org/matrix-doc#3618) --- federationapi/routing/send.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/federationapi/routing/send.go b/federationapi/routing/send.go index fad23a5c..472775ac 100644 --- a/federationapi/routing/send.go +++ b/federationapi/routing/send.go @@ -381,7 +381,7 @@ func (t *txnReq) processTransaction(ctx context.Context) (*gomatrixserverlib.Res if c := len(results); c > 0 { util.GetLogger(ctx).Infof("Processed %d PDUs from %v in transaction %q", c, t.Origin, t.TransactionID) } - return &gomatrixserverlib.RespSend{PDUs: results}, nil + return &gomatrixserverlib.RespSend{}, nil } func (t *inputWorker) run() {