aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/msgstore.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go
index bbaa70ad..ec15d420 100644
--- a/lib/msgstore.go
+++ b/lib/msgstore.go
@@ -452,9 +452,7 @@ func (store *MessageStore) Delete(uids []uint32,
func (store *MessageStore) revertDeleted(uids []uint32) {
for _, uid := range uids {
- if _, ok := store.Deleted[uid]; ok {
- delete(store.Deleted, uid)
- }
+ delete(store.Deleted, uid)
}
}