From a75144d0db0ee1043e505af776070cf692798736 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 23 Nov 2024 00:27:44 +0800 Subject: [PATCH] :bug: Fix event notify isn't unsaved --- pkg/internal/services/events.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/internal/services/events.go b/pkg/internal/services/events.go index 8dfeeb1..a02be78 100644 --- a/pkg/internal/services/events.go +++ b/pkg/internal/services/events.go @@ -192,6 +192,7 @@ func NotifyMessageEvent(members []models.ChannelMember, event models.Event) { }, Priority: 5, }, + true, ) if err != nil { log.Warn().Err(err).Msg("An error occurred when trying notify user.") @@ -228,6 +229,7 @@ func NotifyMessageEvent(members []models.ChannelMember, event models.Event) { }, Priority: 5, }, + true, ) if err != nil { log.Warn().Err(err).Msg("An error occurred when trying notify user.")