From 1c5fea68548c7fe06ddb9ca3c8b201d7a1dd2150 Mon Sep 17 00:00:00 2001 From: Piotr Kozimor Date: Mon, 19 Apr 2021 13:23:40 +0200 Subject: [PATCH] Remove unnecessary config parameter in validateEmailIdentity --- clientapi/routing/register.go | 1 - 1 file changed, 1 deletion(-) diff --git a/clientapi/routing/register.go b/clientapi/routing/register.go index 3d99e1bae..d001aca87 100644 --- a/clientapi/routing/register.go +++ b/clientapi/routing/register.go @@ -354,7 +354,6 @@ func validateRecaptcha( func validateEmailIdentity( ctx context.Context, cred *threepidCreds, - // cfg *config.ClientAPI, ) *util.JSONResponse { url := fmt.Sprintf( "https://%s/_matrix/identity/v2/3pid/getValidated3pid",