From 05f00f0153066b9bb527773927a3244dad28ef4f Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 9 Jun 2019 14:55:04 -0400 Subject: Update our message flags when server updates them --- lib/msgstore.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/msgstore.go b/lib/msgstore.go index 900ec16..56725e3 100644 --- a/lib/msgstore.go +++ b/lib/msgstore.go @@ -112,9 +112,7 @@ func merge(to *types.MessageInfo, from *types.MessageInfo) { if from.Envelope != nil { to.Envelope = from.Envelope } - if len(from.Flags) != 0 { - to.Flags = from.Flags - } + to.Flags = from.Flags if from.Size != 0 { to.Size = from.Size } -- cgit 1.4.1-2-gfad0