e7cc10111a
Refined the fix: instead of removing extension-based fallback entirely, only skip it when content_type is explicitly 'file' (or image/video). Empty or unknown content_types still fall back to extension matching as a defensive measure. - content_type='voice' or 'audio/*' → True (API signal) - content_type='file' → False (file transfer, never voice) - content_type='' → extension fallback (defensive) - content_type=unknown → extension fallback (defensive) Added _looks_like_voice() module-level helper and comprehensive tests.