mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Bugfix: i've wrecked rendering of inline images
This commit is contained in:
parent
aa3f71d299
commit
385cd9588c
2 changed files with 27 additions and 29 deletions
|
|
@ -494,6 +494,7 @@ class MessageUserStore {
|
|||
iMessageBodyCacheCount += 1;
|
||||
textBody.rlCacheCount = iMessageBodyCacheCount;
|
||||
message.fetchDataFromDom();
|
||||
message.body = textBody;
|
||||
} else {
|
||||
let isHtml = false;
|
||||
if (data.Result.Html) {
|
||||
|
|
@ -542,6 +543,8 @@ class MessageUserStore {
|
|||
+ '</div>');
|
||||
body.rlCacheCount = iMessageBodyCacheCount;
|
||||
|
||||
message.body = body;
|
||||
|
||||
message.isHtml(!!isHtml);
|
||||
message.hasImages(!!data.Result.HasExternals);
|
||||
|
||||
|
|
@ -560,7 +563,6 @@ class MessageUserStore {
|
|||
this.purgeMessageBodyCacheThrottle();
|
||||
}
|
||||
|
||||
message.body = body || textBody;
|
||||
this.messageActiveDom(message.body);
|
||||
|
||||
this.hideMessageBodies();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue