mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Fix crippled contact names (#1447)
This commit is contained in:
parent
ed5685314e
commit
d76fde37df
10 changed files with 123 additions and 257 deletions
|
|
@ -110,6 +110,8 @@ class ComposePopupView extends AbstractViewNext
|
|||
this.replyTo = ko.observable('');
|
||||
this.replyTo.focused = ko.observable(false);
|
||||
|
||||
// this.to.subscribe((v) => console.log(v));
|
||||
|
||||
ko.computed(() => {
|
||||
switch (true)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -409,7 +409,7 @@ class ComposeOpenPgpPopupView extends AbstractViewNext
|
|||
rec = rec.join(', ').split(',');
|
||||
rec = _.compact(_.map(rec, (value) => {
|
||||
email.clear();
|
||||
email.mailsoParse(trim(value));
|
||||
email.parse(trim(value));
|
||||
return '' === email.email ? false : email.email;
|
||||
}));
|
||||
|
||||
|
|
|
|||
|
|
@ -539,7 +539,7 @@ class MessageViewMailBoxUserView extends AbstractViewNext
|
|||
// fParseEmailLine = function(sLine) {
|
||||
// return sLine ? _.compact(_.map([window.decodeURIComponent(sLine)], function(sItem) {
|
||||
// var oEmailModel = new EmailModel();
|
||||
// oEmailModel.mailsoParse(sItem);
|
||||
// oEmailModel.parse(sItem);
|
||||
// return '' !== oEmailModel.email ? oEmailModel : null;
|
||||
// })) : null;
|
||||
// }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue