From c00ee250508166e9b5f06471050418087fd75f39 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 1 Aug 2024 13:08:18 +0800 Subject: [PATCH] :bug: Fix metioned users notification push --- pkg/internal/services/events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/internal/services/events.go b/pkg/internal/services/events.go index e48ac13..71b596d 100644 --- a/pkg/internal/services/events.go +++ b/pkg/internal/services/events.go @@ -184,7 +184,7 @@ func NotifyMessageEvent(members []models.ChannelMember, event models.Event) { } err := NotifyAccountMessagerBatch( - pendingUsers, + metionedUsers, &proto.NotifyRequest{ Topic: "messaging.message", Title: fmt.Sprintf("%s (%s)", event.Sender.Account.Nick, event.Channel.DisplayText()),