Don't return pdus key on federation /send (as per matrix-org/matrix-doc#3618)

This commit is contained in:
Neil Alexander 2022-01-12 11:39:18 +00:00
parent 16035b9737
commit 0005f5c1ae
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

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