mirror of https://github.com/moparisthebest/mail
removed base64 decoding in email model
This commit is contained in:
parent
104bc734f6
commit
84c9abcd36
|
@ -14,15 +14,7 @@
|
|||
sentDate: null
|
||||
},
|
||||
|
||||
initialize: function() {
|
||||
// decode body
|
||||
try {
|
||||
var decodedBody = window.atob(this.get('body'));
|
||||
this.set('body', decodedBody);
|
||||
} catch (ex) {
|
||||
console.log(ex);
|
||||
}
|
||||
}
|
||||
initialize: function() {}
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue