Remove logging

This commit is contained in:
Neil Alexander 2022-02-22 12:06:59 +00:00
parent 4c051e0fb5
commit 8a3ee19413
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 2 additions and 6 deletions

View file

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

View file

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