mirror of
https://git.sr.ht/~sircmpwn/aerc
synced 2024-11-23 16:42:07 +01:00
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
@ -294,7 +294,7 @@ func (store *MessageStore) Move(uids []uint32, dest string, createDest bool,
|
||||
store.worker.PostAction(&types.CreateDirectory{
|
||||
Directory: dest,
|
||||
Quiet: true,
|
||||
}, cb)
|
||||
}, nil) // quiet doesn't return an error, don't want the done cb here
|
||||
}
|
||||
|
||||
store.worker.PostAction(&types.CopyMessages{
|
||||
|
Loading…
Reference in New Issue
Block a user