~sircmpwn/aerc

48a88fe44f617585050e7640a687a82bc5623970 — Reto Brunner 1 year, 3 months ago 03d182c
lib/msgstore: fix invalid callback invocation

creating a directory must not invoke the callback, as this is meant for the
completion of the move
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/msgstore.go
M lib/msgstore.go => lib/msgstore.go +1 -1
@@ 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{