mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-16 00:39:54 +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{}
|
||||
case constant.MarkdownText:
|
||||
data = &apistruct.MarkdownTextElem{}
|
||||
case constant.Quote:
|
||||
data = &apistruct.QuoteElem{}
|
||||
case constant.OANotification:
|
||||
data = &apistruct.OANotificationElem{}
|
||||
req.SessionType = constant.NotificationChatType
|
||||
|
Loading…
x
Reference in New Issue
Block a user