mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 03:03:10 -06:00
Remove logging
This commit is contained in:
parent
4c051e0fb5
commit
8a3ee19413
|
|
@ -242,9 +242,8 @@ func (u *DeviceListUpdater) update(ctx context.Context, event gomatrixserverlib.
|
|||
},
|
||||
}
|
||||
|
||||
// DeviceKeysJSON will side-effect modify this, so we create it
|
||||
// separately to above os that DeviceKeys isn't pointer'd to the
|
||||
// same place in both "keys" and "existingKeys"
|
||||
// DeviceKeysJSON will side-effect modify this, so it needs
|
||||
// to be a copy, not sharing any pointers with the above.
|
||||
deviceKeysCopy := *keys[0].DeviceKeys
|
||||
existingKeys := []api.DeviceMessage{
|
||||
{
|
||||
|
|
|
|||
|
|
@ -711,9 +711,6 @@ func (a *KeyInternalAPI) uploadOneTimeKeys(ctx context.Context, req *api.Perform
|
|||
}
|
||||
|
||||
func emitDeviceKeyChanges(producer KeyChangeProducer, existing, new []api.DeviceMessage) error {
|
||||
logrus.Warnf("XXX: Existing: %+v", existing)
|
||||
logrus.Warnf("XXX: New: %+v", new)
|
||||
|
||||
// find keys in new that are not in existing
|
||||
var keysAdded []api.DeviceMessage
|
||||
for _, newKey := range new {
|
||||
|
|
|
|||
Loading…
Reference in a new issue