aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/pgpinfo.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-01-10 22:35:26 +0100
committerRobin Jarry <robin@jarry.cc>2023-01-11 14:12:23 +0100
commit3602fc620bc6a5e5cb8a4223399b6cbad11f9d65 (patch)
tree8e6c8936f20f90417537c6497246e0d5ead6ad5f /widgets/pgpinfo.go
parentbf0a3e0056d6dad150e418f758c9c6778db9d4ba (diff)
downloadaerc-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 'widgets/pgpinfo.go')
0 files changed, 0 insertions, 0 deletions