mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-14 21:52:56 +08:00
🐛 修复合并转发在bytes传输下图片丢失
This commit is contained in:
parent
6519b1cad4
commit
c9b864ca54
@ -138,7 +138,7 @@ class MessageUtils:
|
||||
if isinstance(r, Text):
|
||||
s += str(r)
|
||||
elif isinstance(r, Image):
|
||||
if v := r.url or r.path:
|
||||
if v := r.url or r.path or r.raw:
|
||||
s += MessageSegment.image(v)
|
||||
elif isinstance(r_list, Image):
|
||||
if v := r_list.url or r_list.path:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user