mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-10 03:56:00 +08:00
notification
This commit is contained in:
@@ -357,7 +357,6 @@ type Notification struct {
|
||||
|
||||
func GetOptionsByNotification(cfg NotificationConf) utils.Options {
|
||||
opts := utils.NewOptions()
|
||||
opts = utils.WithOptions(opts, utils.WithNotification(true))
|
||||
if cfg.UnreadCount {
|
||||
opts = utils.WithOptions(opts, utils.WithUnreadCount())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user