mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Resolve #1180
This commit is contained in:
parent
0f5e16f7d8
commit
954a86b23d
2 changed files with 1 additions and 3 deletions
|
|
@ -676,7 +676,6 @@ class Actions
|
|||
'Email' => \MailSo\Base\Utils::IdnToUtf8($oAccount->Email()),
|
||||
'accountHash' => $oAccount->Hash(),
|
||||
'accountSignMe' => isset($_COOKIE[self::AUTH_SIGN_ME_TOKEN_KEY]),
|
||||
'mainEmail' => \MailSo\Base\Utils::IdnToUtf8($this->getMainAccountFromToken()->Email()),
|
||||
|
||||
'contactsAllowed' => $this->AddressBookProvider($oAccount)->IsActive(),
|
||||
|
||||
|
|
|
|||
|
|
@ -200,8 +200,7 @@ trait Accounts
|
|||
$aResult = [
|
||||
'Email' => $oAccount->Email(),
|
||||
'accountHash' => $oAccount->Hash(),
|
||||
'mainEmail' => ($oAccount instanceof AdditionalAccount)
|
||||
? $oAccount->ParentEmail() : '',
|
||||
'mainEmail' => \RainLoop\Api::Actions()->getMainAccountFromToken()->Email(),
|
||||
'contactsAllowed' => $this->AddressBookProvider($oAccount)->IsActive(),
|
||||
'HideUnsubscribed' => false,
|
||||
'UseThreads' => (bool) $oConfig->Get('defaults', 'mail_use_threads', false),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue