With the latest changes in SBBS v3.20 (commit ae3253085e1), I don't think you any of this logic - file attachments don't use the user's configured download protocol, by default, so no need to prompt the user to set/change it.
From Eric Oulashin to GitLab note in main/sbbs on Monday, October 28, 2024 09:28:33