mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-27 22:35:22 +00:00
@@ -323,8 +323,12 @@
|
||||
Account.$log.debug('New message (edit): ' + JSON.stringify(data, undefined, 2));
|
||||
angular.extend(message.editable, data);
|
||||
message.isNew = true;
|
||||
if (options && options.mailto)
|
||||
message.$parseMailto(options.mailto);
|
||||
if (options && options.mailto) {
|
||||
if (angular.isObject(options.mailto))
|
||||
angular.extend(message.editable, options.mailto);
|
||||
else
|
||||
message.$parseMailto(options.mailto);
|
||||
}
|
||||
return message;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user