🐛 Fix event notify isn't unsaved
This commit is contained in:
parent
6c5324e131
commit
a75144d0db
@ -192,6 +192,7 @@ func NotifyMessageEvent(members []models.ChannelMember, event models.Event) {
|
|||||||
},
|
},
|
||||||
Priority: 5,
|
Priority: 5,
|
||||||
},
|
},
|
||||||
|
true,
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warn().Err(err).Msg("An error occurred when trying notify user.")
|
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,
|
Priority: 5,
|
||||||
},
|
},
|
||||||
|
true,
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warn().Err(err).Msg("An error occurred when trying notify user.")
|
log.Warn().Err(err).Msg("An error occurred when trying notify user.")
|
||||||
|
Loading…
Reference in New Issue
Block a user