diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/msgstore.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go index efa6f732..9799a996 100644 --- a/lib/msgstore.go +++ b/lib/msgstore.go @@ -440,6 +440,9 @@ func (store *MessageStore) Delete(uids []uint32, if _, ok := msg.(*types.Error); ok { store.revertDeleted(uids) } + if _, ok := msg.(*types.Unsupported); ok { + store.revertDeleted(uids) + } cb(msg) }) } |