mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 11:39:21 +03:00
Merge pull request #1301 from SergeyMosin/mailbox-uri-fix
Fix: '#/mailbox/folder/mUID/search' uri/route handling
This commit is contained in:
commit
e7d7ca48e4
2 changed files with 24 additions and 12 deletions
|
|
@ -301,10 +301,14 @@ populateMessageBody = (oMessage, popup) => {
|
|||
} else {
|
||||
let json = oData?.Result;
|
||||
if (json
|
||||
&& oMessage.hash === json.hash
|
||||
// && oMessage.folder === json.folder
|
||||
// && oMessage.uid == json.uid
|
||||
&& oMessage.revivePropertiesFromJson(json)
|
||||
&& ((
|
||||
oMessage.hash && oMessage.hash === json.hash
|
||||
) || (
|
||||
!oMessage.hash
|
||||
&& oMessage.folder === json.folder
|
||||
&& oMessage.uid == json.uid)
|
||||
)
|
||||
&& oMessage.revivePropertiesFromJson(json)
|
||||
) {
|
||||
/*
|
||||
if (bCached) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue