TF-2305 Session::getOwnEmailAddress method to fetch the user email address from urn:ietf:params:jmap:principals imip mailto property if not present in the session username, which is the case for Cyrus
This commit is contained in:
committed by
Dat H. Pham
parent
327af38fb0
commit
6720709a2e
@@ -451,7 +451,7 @@ abstract class BaseController extends GetxController
|
||||
if (PlatformInfo.isMobile) {
|
||||
showLogoutConfirmDialog(
|
||||
context: context,
|
||||
username: session?.username.value ?? '',
|
||||
userAddress: session?.getOwnEmailAddress() ?? '',
|
||||
onConfirmAction: () => _handleLogoutAction(session, accountId),
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user