pubkey = $ident; $this->npub = $keys->convertPublicKeyToBech32($ident); } else { $this->npub = $ident; } $this->user = $this->redisCacheService->getMetadata($this->npub); } }