diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2024-05-30 11:30:19 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-06-05 08:41:13 +0200 |
commit | a5bd99ca7b7e575be7d87fa7882be0b52f6d0261 (patch) | |
tree | 52a9aad0d484f6351520b7fb9e022f7ff2ab47b4 /worker/jmap/worker.go | |
parent | fd35044023b3b6cae4eb95c4f4b997873739b153 (diff) | |
download | aerc-a5bd99ca7b7e575be7d87fa7882be0b52f6d0261.tar.gz |
commands: use AccountConfig.Backend instead of reflect
Currently we use a convoluted way based on reflect to check what type of
backend a command is running in. Use the new Backend variable available in
AccountConfig instead to simplify the logic.
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/jmap/worker.go')
0 files changed, 0 insertions, 0 deletions