Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b9ea384 authored by Mario Danic's avatar Mario Danic
Browse files

New hardening



Signed-off-by: default avatarMario Danic <mario@lovelyhq.com>
parent 7cd33b74
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -150,7 +150,11 @@ public class GetRemoteUserInfoOperation extends RemoteOperation {
                if (respData.has(NODE_ID)) {
                    userInfo.setId(respData.getString(NODE_ID));
                } else {
                    if (TextUtils.isEmpty(userID)) {
                        userInfo.setId(credentials.getUsername());
                    } else {
                        userInfo.setId(userID);
                    }
                }

                // Two endpoints, two different responses