diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Model/AdditionalAccount.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Model/AdditionalAccount.php index a85a8cd77..78bae1a04 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Model/AdditionalAccount.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Model/AdditionalAccount.php @@ -17,6 +17,13 @@ class AdditionalAccount extends Account return \md5(parent::Hash() . $this->ParentEmail()); } + public function jsonSerialize() + { + $aData = parent::jsonSerialize(); + $aData[] = ''; // was ParentEmail + return $aData; + } + public function asTokenArray(MainAccount $oMainAccount) : array { $sHash = $oMainAccount->CryptKey();