diff options
| author | Rider Linden <rider@lindenlab.com> | 2017-06-06 10:21:34 -0700 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2017-06-06 10:21:34 -0700 |
| commit | dde727aa0f293b4a91ebe5ed573a55e87caa413a (patch) | |
| tree | fc222dbffc8d043e7d2004ff522cedfe7c74b3d6 /indra/newview/llagent.cpp | |
| parent | 746848bee9a2358a6229498901208db38c4b4542 (diff) | |
MAINT-7254, MAINT-7255: Use cap to get and set UserInfo on simhost. Check new is_verified flag and disable IM2Email if value is false.
Diffstat (limited to 'indra/newview/llagent.cpp')
| -rw-r--r-- | indra/newview/llagent.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index ebff73debf..f67bb22f5b 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -4383,16 +4383,18 @@ void LLAgent::requestAgentUserInfoCoro(std::string capurl) } bool im_via_email; + bool is_verified_email; std::string email; std::string dir_visibility; im_via_email = result["im_via_email"].asBoolean(); + is_verified_email = result["is_verified"].asBoolean(); email = result["email"].asString(); dir_visibility = result["directory_visibility"].asString(); // TODO: This should probably be changed. I'm not entirely comfortable // having LLAgent interact directly with the UI in this way. - LLFloaterPreference::updateUserInfo(dir_visibility, im_via_email); + LLFloaterPreference::updateUserInfo(dir_visibility, im_via_email, is_verified_email); LLFloaterSnapshot::setAgentEmail(email); } |
