diff options
author | Koni Marti <koni.marti@gmail.com> | 2023-06-05 20:41:48 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-06-17 23:19:07 +0200 |
commit | b13c45797a1ea2d27f162c0fde0b640d7b24471e (patch) | |
tree | c7aac869d156703add6bb2379546dff0664d1b8a /commands/mode | |
parent | 04bcfd5cf5aacd60ea70ac773aa6021c4f9c471a (diff) | |
download | aerc-b13c45797a1ea2d27f162c0fde0b640d7b24471e.tar.gz |
account: create new store when creating folders
Add a correct message store entry to the DirStore for newly created
directories. This is currently not done, so the directory name does
either not show up in the directory list or contains a nil message
store. Either way, such a directory cannot be used in the current
session and aerc needs to be restarted/reconnected. This affects the
:mkdir and :archive commands (archive when a new directory is created).
To reproduce on imap: create a new directory (:mkdir testdir), try to
move a message into it (:move testdir). It will not show up because
there is not message store.
Fixes: 8ced001d ("listDirectories: refactor listdirectories handling")
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/mode')
0 files changed, 0 insertions, 0 deletions