mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
fix message link check
This commit is contained in:
@@ -423,7 +423,7 @@ class MessageChain(ChainBase):
|
||||
# 聊天
|
||||
content = text
|
||||
action = "Chat"
|
||||
elif text.startswith("http"):
|
||||
elif StringUtils.is_link(text):
|
||||
# 链接
|
||||
content = text
|
||||
action = "Link"
|
||||
|
||||
Reference in New Issue
Block a user