mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 23:37:15 +00:00
1 parent
38d4a26827
commit
e7c15a697d
1 file changed
+6
-2
@@ -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