fix: '#/mailbox/folder/mUID/search' URI does not show the message

This commit is contained in:
Sergey Mosin 2023-11-07 09:27:35 -05:00
parent 36789bd3b5
commit 4b26317be8

View file

@ -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) {