From b09e7163ddf2bf7bc3f58725549cd31579e4cc8b Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 1 Feb 2016 10:41:22 -0500 Subject: [PATCH] (fix) Show user's default email address Fixes #3473 --- UI/Common/UIxPageFrame.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/UI/Common/UIxPageFrame.m b/UI/Common/UIxPageFrame.m index 3be6ddbb1..0be91ece9 100644 --- a/UI/Common/UIxPageFrame.m +++ b/UI/Common/UIxPageFrame.m @@ -470,7 +470,11 @@ - (NSString *) userEmail { - return [[context activeUser] systemEmail]; + NSDictionary *identity; + + identity = [[context activeUser] defaultIdentity]; + + return [identity objectForKey: @"email"]; }