TF-3717 Allow access settings when own email address is null
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -64,7 +64,7 @@ extension SessionExtensions on Session {
|
||||
|
||||
String get internalDomain {
|
||||
try {
|
||||
return getOwnEmailAddress().split('@').last;
|
||||
return getOwnEmailAddressOrEmpty().split('@').last;
|
||||
} catch (e) {
|
||||
logError('SessionExtensions::internalDomain: Exception: $e');
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user