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
|
// DeviceKeysJSON will side-effect modify this, so it needs
|
||||||
// separately to above os that DeviceKeys isn't pointer'd to the
|
// to be a copy, not sharing any pointers with the above.
|
||||||
// same place in both "keys" and "existingKeys"
|
|
||||||
deviceKeysCopy := *keys[0].DeviceKeys
|
deviceKeysCopy := *keys[0].DeviceKeys
|
||||||
existingKeys := []api.DeviceMessage{
|
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 {
|
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
|
// find keys in new that are not in existing
|
||||||
var keysAdded []api.DeviceMessage
|
var keysAdded []api.DeviceMessage
|
||||||
for _, newKey := range new {
|
for _, newKey := range new {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue