🐛 Fix metioned users notification push
This commit is contained in:
parent
47a5f037c8
commit
c00ee25050
@ -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()),
|
||||||
|
Loading…
Reference in New Issue
Block a user