mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-07-07 12:21:10 +08:00
Compare commits
3 Commits
798febe735
...
924ab3b75d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
924ab3b75d | ||
|
|
d542df7000 | ||
|
|
5afa9d1e79 |
@ -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
|
||||
|
||||
@ -89,7 +89,9 @@ func (a *ApiCmd) runE() error {
|
||||
&a.apiConfig.Notification,
|
||||
a.apiConfig,
|
||||
[]string{},
|
||||
[]string{},
|
||||
[]string{
|
||||
a.apiConfig.Discovery.RpcService.MessageGateway,
|
||||
},
|
||||
api.Start,
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user