supportAttachmentMaxFiles static method
Returns how many files one support message can carry
(magic_starter.support.attachments.max_files).
The backend enforces its own limit; this one stops a pick the backend would refuse before it is uploaded, so a host that changes one changes the other.
Implementation
static int supportAttachmentMaxFiles() {
return Config.get<int>(
'magic_starter.support.attachments.max_files',
_defaultSupportAttachmentMaxFiles,
) ??
_defaultSupportAttachmentMaxFiles;
}