From 2d5ee96a90b9e556e91b8775fcb5a719a1286ee8 Mon Sep 17 00:00:00 2001 From: Monet Lee Date: Mon, 11 Aug 2025 10:57:10 +0800 Subject: [PATCH] fix: revert contentType in API msg --- internal/api/msg.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/api/msg.go b/internal/api/msg.go index a134dfdb3..06fd14936 100644 --- a/internal/api/msg.go +++ b/internal/api/msg.go @@ -219,6 +219,8 @@ func (m *MessageApi) getSendMsgReq(c *gin.Context, req apistruct.SendMsg) (sendM data = &apistruct.CustomElem{} case constant.MarkdownText: data = &apistruct.MarkdownTextElem{} + case constant.Quote: + data = &apistruct.QuoteElem{} case constant.OANotification: data = &apistruct.OANotificationElem{} req.SessionType = constant.NotificationChatType