aboutsummaryrefslogtreecommitdiff
path: root/lib/msgstore.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-06-09 14:55:04 -0400
committerDrew DeVault <sir@cmpwn.com>2019-06-09 14:55:04 -0400
commit05f00f0153066b9bb527773927a3244dad28ef4f (patch)
tree1e3dbd574e358fbeaf4cf46774baf1a329f649ab /lib/msgstore.go
parentd63653ecdeb19c0fb4b3ea976c3e5ea96b408112 (diff)
Update our message flags when server updates them
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
}