diff options
author | S7evinK <2353100+S7evinK@users.noreply.github.com> | 2022-02-09 13:11:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 13:11:43 +0100 |
commit | ac25065a54149117761e7a1b471a9b742f920ebc (patch) | |
tree | 40a523aa914fc3c51cc47a62c32c4c18468be48f /federationapi | |
parent | cf447dd52a0015c2c5b10813ed11e59a3712607e (diff) |
Fix sytest `uploading signed devices gets propagated over federation` (#2162)
* Remove unneeded logging
* Add MasterKey & SelfSigningKey to update
Avoid panic if signatures are not present
* Add passing test
* Revert "Add MasterKey & SelfSigningKey to update"
This reverts commit 2c81b34884be8b5b875a33420c0f985b578d3fb8.
* Send MasterKey & SelfSigningKey with update
* Debugging
* Remove delete() so we also query signingkeys
Diffstat (limited to 'federationapi')
-rw-r--r-- | federationapi/consumers/roomserver.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/federationapi/consumers/roomserver.go b/federationapi/consumers/roomserver.go index 60066bb2..ac29f930 100644 --- a/federationapi/consumers/roomserver.go +++ b/federationapi/consumers/roomserver.go @@ -18,6 +18,7 @@ import ( "context" "encoding/json" "fmt" + "github.com/matrix-org/dendrite/federationapi/queue" "github.com/matrix-org/dendrite/federationapi/storage" "github.com/matrix-org/dendrite/federationapi/types" @@ -113,11 +114,6 @@ func (s *OutputRoomEventConsumer) onMessage(ctx context.Context, msg *nats.Msg) } } - case api.OutputTypeNewInviteEvent: - log.WithField("type", output.Type).Debug( - "received new invite, send device keys", - ) - case api.OutputTypeNewInboundPeek: if err := s.processInboundPeek(*output.NewInboundPeek); err != nil { log.WithFields(log.Fields{ |