fix: notification pull

This commit is contained in:
wangchuxiao
2023-05-18 18:56:58 +08:00
parent 405a9b75b0
commit 1f5259d36a
3 changed files with 1 additions and 50 deletions
-1
View File
@@ -160,7 +160,6 @@ func (c *MsgClient) Notification(ctx context.Context, sendID, recvID string, con
}
msg.CreateTime = utils.GetCurrentTimestampByMill()
msg.ClientMsgID = utils.GetMsgID(sendID)
// msg.Options = make(map[string]bool, 7)
options := config.GetOptionsByNotification(c.contentTypeConf[contentType])
options = utils.WithOptions(options, opts...)
msg.Options = options