aboutsummaryrefslogtreecommitdiff
path: root/lib/msgstore.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msgstore.go')
-rw-r--r--lib/msgstore.go4
1 files changed, 1 insertions, 3 deletions
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
}