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:
parent
03d182ca88
commit
48a88fe44f
1 changed files with 1 additions and 1 deletions
|
@ -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{
|
||||||
|
|
Loading…
Reference in a new issue