mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-05-19 16:12:30 +00:00
fix(feishu): simplify media filename sanitization
This commit is contained in:
parent
39db5c4846
commit
c10ec6094e
@ -1104,8 +1104,6 @@ class FeishuChannel(BaseChannel):
|
||||
if not filename:
|
||||
filename = fallback_filename
|
||||
|
||||
filename = self._safe_media_filename(filename, fallback_filename)
|
||||
|
||||
# Feishu voice messages are opus in OGG container.
|
||||
# Use .ogg extension for better Whisper compatibility.
|
||||
if msg_type == "audio":
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user