Fixed Identities

This commit is contained in:
RainLoop Team 2014-11-16 21:49:45 +04:00
parent 7aa8dcea6b
commit cb50320db4
3 changed files with 5 additions and 6 deletions

View file

@ -8,7 +8,6 @@
_ = require('_'),
Globals = require('Common/Globals'),
Utils = require('Common/Utils'),
Settings = require('Storage/Settings')
;

View file

@ -2,7 +2,7 @@
"name": "RainLoop",
"title": "RainLoop Webmail",
"version": "1.7.0",
"release": "200",
"release": "202",
"description": "Simple, modern & fast web-based email client",
"homepage": "http://rainloop.net",
"main": "gulpfile.js",

View file

@ -1879,7 +1879,7 @@ class Actions
if (isset($aItem['Id'], $aItem['Email'], $aItem['Name'], $aItem['ReplyTo'], $aItem['Bcc']) &&
$aItem['Id'] !== $oAccount->Email())
{
$oItem = \RainLoop\Identity::NewInstance($aItem['Id'], $aItem['Email'],
$oItem = \RainLoop\Model\Identity::NewInstance($aItem['Id'], $aItem['Email'],
$aItem['Name'], $aItem['ReplyTo'], $aItem['Bcc']);
$aIdentities[] = $oItem;
@ -1901,7 +1901,7 @@ class Actions
$aIdentities = array();
if ($oAccount)
{
$oAccountIdentity = \RainLoop\Identity::NewInstance('', $oAccount->Email());
$oAccountIdentity = \RainLoop\Model\Identity::NewInstance('', $oAccount->Email());
$aSubIdentities = array();
$oSettings = $this->SettingsProvider()->Load($oAccount);
@ -1923,7 +1923,7 @@ class Actions
{
if (0 < \strlen($aItem['Id']))
{
$oItem = \RainLoop\Identity::NewInstance($aItem['Id'], $aItem['Email']);
$oItem = \RainLoop\Model\Identity::NewInstance($aItem['Id'], $aItem['Email']);
}
else
{
@ -2129,7 +2129,7 @@ class Actions
if (!$oEditIdentity)
{
$aIdentities[] = \RainLoop\Identity::NewInstance($sId, $sEmail, $sName, $sReplyTo, $sBcc);
$aIdentities[] = \RainLoop\Model\Identity::NewInstance($sId, $sEmail, $sName, $sReplyTo, $sBcc);
}
else
{