lib/msgstore: fix invalid callback invocation

creating a directory must not invoke the callback, as this is meant for the
completion of the move
This commit is contained in:
Reto Brunner 2019-10-09 09:46:01 +02:00 committed by Drew DeVault
parent 03d182ca88
commit 48a88fe44f

View file

@ -294,7 +294,7 @@ func (store *MessageStore) Move(uids []uint32, dest string, createDest bool,
store.worker.PostAction(&types.CreateDirectory{ store.worker.PostAction(&types.CreateDirectory{
Directory: dest, Directory: dest,
Quiet: true, Quiet: true,
}, cb) }, nil) // quiet doesn't return an error, don't want the done cb here
} }
store.worker.PostAction(&types.CopyMessages{ store.worker.PostAction(&types.CopyMessages{