diff options
author | Koni Marti <koni.marti@gmail.com> | 2023-07-10 23:51:20 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-07-15 18:22:03 +0200 |
commit | b08d38c1e57934fec2f244444c233a1bca58ed76 (patch) | |
tree | ce430c54e2bb151e4fb5ce4262e9db40509de9ce /lib/dirstore_test.go | |
parent | 8dcb58c81782a30f06794227cf9a1b54928134e3 (diff) | |
download | aerc-b08d38c1e57934fec2f244444c233a1bca58ed76.tar.gz |
commands: fix panic in helper struct
Fix a panic in the helper struct than can occur when a delayed archiving
operation (from :send -a) occurs and the user is already in a different
window that does not implement the ProvideMessages interface. Use the
*AccountView as a fallback when the type cast fails.
Fixes: https://todo.sr.ht/~rjarry/aerc/181
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'lib/dirstore_test.go')
0 files changed, 0 insertions, 0 deletions