diff options
author | Robin Jarry <robin@jarry.cc> | 2023-01-10 22:35:26 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-01-11 14:12:23 +0100 |
commit | 3602fc620bc6a5e5cb8a4223399b6cbad11f9d65 (patch) | |
tree | 8e6c8936f20f90417537c6497246e0d5ead6ad5f /config/binds_test.go | |
parent | bf0a3e0056d6dad150e418f758c9c6778db9d4ba (diff) | |
download | aerc-3602fc620bc6a5e5cb8a4223399b6cbad11f9d65.tar.gz |
config: fix accounts backend specific parameters detection
Since commit c56027b2e69e ("config: cleanup accounts.conf section
parsing"), no backend-specific settings are parsed and stored into
account.Params.
The logic is completely broken. Any key is specific unless one field of
the AccountConfig struct has a matching ini:"key" tag. The fields that
are tagged ini:"-" are already handled in the parent switch block.
Reported-by: Jose Lombera <jose@lombera.dev>
Reported-by: Ben Cohen <ben@bencohen.net>
Fixes: c56027b2e69e ("config: cleanup accounts.conf section parsing")
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Jose Lombera <jose@lombera.dev>
Diffstat (limited to 'config/binds_test.go')
0 files changed, 0 insertions, 0 deletions