https://gitlab.synchro.net/main/sbbs/-/merge_requests/465#note_5812
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.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net