🐛 Fix event notify isn't unsaved

This commit is contained in:
LittleSheep 2024-11-23 00:27:44 +08:00
parent 6c5324e131
commit a75144d0db

View File

@ -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.")