Page MenuHomePhabricator

D11891.diff
No OneTemporary

D11891.diff

diff --git a/native/account/fullscreen-siwe-panel.react.js b/native/account/fullscreen-siwe-panel.react.js
--- a/native/account/fullscreen-siwe-panel.react.js
+++ b/native/account/fullscreen-siwe-panel.react.js
@@ -77,9 +77,10 @@
successRef.current = true;
if (usingCommServicesAccessToken) {
try {
- const findUserIDResponse =
+ const findUserIDResponseString =
await commRustModule.findUserIDForWalletAddress(result.address);
- if (JSON.parse(findUserIDResponse).userID) {
+ const findUserIDResponse = JSON.parse(findUserIDResponseString);
+ if (findUserIDResponse.userID || findUserIDResponse.isReserved) {
await walletLogIn(result.address, result.message, result.signature);
} else if (enableNewRegistrationMode) {
await onAccountDoesNotExist(result);

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 2:35 PM (20 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2539692
Default Alt Text
D11891.diff (875 B)

Event Timeline