mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
Much better fix for #175
And added some comments to it, to prevent more screw ups
This commit is contained in:
parent
11547b575e
commit
e244ba01de
6 changed files with 83 additions and 75 deletions
|
|
@ -412,7 +412,7 @@ export const MessageUserStore = new class {
|
|||
message.folder === json.Folder
|
||||
) {
|
||||
const threads = message.threads();
|
||||
if (message.uid != json.Uid && 1 < threads.length && threads.includes(json.Uid)) {
|
||||
if (message.uid != json.Uid && threads.includes(json.Uid)) {
|
||||
message = oMessage ? null : MessageModel.reviveFromJson(json);
|
||||
if (message) {
|
||||
message.threads(threads);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue