From 09e670b0961f0d67522cc14c8a4ff4b2700a556a Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Wed, 17 Jul 2024 15:19:56 +0800 Subject: [PATCH] :bug: Fix didn't use external id to notify account --- 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 e73cf1c..9d104d8 100644 --- a/pkg/internal/services/events.go +++ b/pkg/internal/services/events.go @@ -120,7 +120,7 @@ func NotifyMessageEvent(members []models.ChannelMember, event models.Event) { break } - pendingIdx = append(pendingIdx, uint64(member.AccountID)) + pendingIdx = append(pendingIdx, uint64(member.Account.ExternalID)) } }