mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-03 18:52:15 +08:00
fix: fill notification OfflinePush by config
This commit is contained in:
parent
346e084d2f
commit
fdebf40066
@ -324,7 +324,7 @@ func (s *NotificationSender) send(ctx context.Context, sendID, recvID string, co
|
||||
options := config.GetOptionsByNotification(optionsConfig)
|
||||
s.SetOptionsByContentType(ctx, options, contentType)
|
||||
msg.Options = options
|
||||
//根据notification.yml中的配置填充离线推送参数
|
||||
// fill Notification OfflinePush by config
|
||||
offlineInfo.Title = optionsConfig.OfflinePush.Title
|
||||
offlineInfo.Desc = optionsConfig.OfflinePush.Desc
|
||||
offlineInfo.Ex = optionsConfig.OfflinePush.Ext
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user