Merge PR #1941: fix(qq): restore plain text replies for legacy clients

fix(qq): restore plain text replies for legacy clients
This commit is contained in:
Xubin Ren authored and GitHub committed 2026-03-13 10:57:58 +08:00
commit ba045f56d8
2 files changed
+38 -8

No files matched your search

+4 -4
View File
@@ -114,16 +114,16 @@ class QQChannel(BaseChannel):
if msg_type == "group":
await self._client.api.post_group_message(
group_openid=msg.chat_id,
msg_type=2,
markdown={"content": msg.content},
msg_type=0,
content=msg.content,
msg_id=msg_id,
msg_seq=self._msg_seq,
)
else:
await self._client.api.post_c2c_message(
openid=msg.chat_id,
msg_type=2,
markdown={"content": msg.content},
msg_type=0,
content=msg.content,
msg_id=msg_id,
msg_seq=self._msg_seq,
)