Remove unneeded parameter

This commit is contained in:
Neil Alexander 2021-08-17 13:06:41 +01:00
parent 9450b1f56d
commit 91a36e2d4a
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -294,7 +294,7 @@ func (a *KeyInternalAPI) PerformUploadDeviceSignatures(ctx context.Context, req
}
}
if err := a.processSelfSignatures(ctx, req.UserID, selfSignatures); err != nil {
if err := a.processSelfSignatures(ctx, selfSignatures); err != nil {
res.Error = &api.KeyError{
Err: fmt.Sprintf("a.processSelfSignatures: %s", err),
}
@ -325,7 +325,7 @@ func (a *KeyInternalAPI) PerformUploadDeviceSignatures(ctx context.Context, req
}
func (a *KeyInternalAPI) processSelfSignatures(
ctx context.Context, _ string,
ctx context.Context,
signatures map[string]map[gomatrixserverlib.KeyID]gomatrixserverlib.CrossSigningForKeyOrDevice,
) error {
// Here we will process: