Compare commits

...

3 Commits

Author SHA1 Message Date
WangZhonghui
924ab3b75d
Merge 5afa9d1e7947fb79f390d44c25268cb0afa4f5ef into d542df70005800d6e1b46661fe1fbace1385acd9 2025-08-13 23:19:33 +00:00
Monet Lee
d542df7000
fix: revert contentType in API msg (#3509) 2025-08-13 09:01:27 +00:00
WangZhonghui
5afa9d1e79
fix: get online users
get online users fail
2025-07-18 11:44:19 +08:00
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -89,7 +89,9 @@ func (a *ApiCmd) runE() error {
&a.apiConfig.Notification,
a.apiConfig,
[]string{},
[]string{},
[]string{
a.apiConfig.Discovery.RpcService.MessageGateway,
},
api.Start,
)
}