🐛 Fix metioned users notification push

This commit is contained in:
LittleSheep 2024-08-01 13:08:18 +08:00
parent 47a5f037c8
commit c00ee25050

View File

@ -184,7 +184,7 @@ func NotifyMessageEvent(members []models.ChannelMember, event models.Event) {
} }
err := NotifyAccountMessagerBatch( err := NotifyAccountMessagerBatch(
pendingUsers, metionedUsers,
&proto.NotifyRequest{ &proto.NotifyRequest{
Topic: "messaging.message", Topic: "messaging.message",
Title: fmt.Sprintf("%s (%s)", event.Sender.Account.Nick, event.Channel.DisplayText()), Title: fmt.Sprintf("%s (%s)", event.Sender.Account.Nick, event.Channel.DisplayText()),