fix: wrong column

This commit is contained in:
a3d21 2023-10-31 17:32:50 +08:00
parent cc1f7739e1
commit 97b5efe398

View File

@ -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,
"",
)