From 97b5efe398297d3f77ef87b4eecf1bbfa39530db Mon Sep 17 00:00:00 2001 From: a3d21 Date: Tue, 31 Oct 2023 17:32:50 +0800 Subject: [PATCH] fix: wrong column --- pkg/common/db/relation/conversation_model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/db/relation/conversation_model.go b/pkg/common/db/relation/conversation_model.go index d5ca92ec2..b2d276193 100644 --- a/pkg/common/db/relation/conversation_model.go +++ b/pkg/common/db/relation/conversation_model.go @@ -158,7 +158,7 @@ func (c *ConversationGorm) FindSuperGroupRecvMsgNotNotifyUserIDs( return userIDs, utils.Wrap( c.db(ctx). Where("group_id = ? and recv_msg_opt = ? and conversation_type = ?", groupID, constant.ReceiveNotNotifyMessage, constant.SuperGroupChatType). - Pluck("user_id", &userIDs). + Pluck("owner_user_id", &userIDs). Error, "", )