mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-16 17:22:12 +08:00
fix: revert contentType in API msg (#3509)
This commit is contained in:
parent
d817cb0ffd
commit
d542df7000
@ -219,6 +219,8 @@ func (m *MessageApi) getSendMsgReq(c *gin.Context, req apistruct.SendMsg) (sendM
|
|||||||
data = &apistruct.CustomElem{}
|
data = &apistruct.CustomElem{}
|
||||||
case constant.MarkdownText:
|
case constant.MarkdownText:
|
||||||
data = &apistruct.MarkdownTextElem{}
|
data = &apistruct.MarkdownTextElem{}
|
||||||
|
case constant.Quote:
|
||||||
|
data = &apistruct.QuoteElem{}
|
||||||
case constant.OANotification:
|
case constant.OANotification:
|
||||||
data = &apistruct.OANotificationElem{}
|
data = &apistruct.OANotificationElem{}
|
||||||
req.SessionType = constant.NotificationChatType
|
req.SessionType = constant.NotificationChatType
|
||||||
|
Loading…
x
Reference in New Issue
Block a user