fix: wrong column

pull/1309/head
a3d21 2 years ago
parent cc1f7739e1
commit 97b5efe398

@ -158,7 +158,7 @@ func (c *ConversationGorm) FindSuperGroupRecvMsgNotNotifyUserIDs(
return userIDs, utils.Wrap( return userIDs, utils.Wrap(
c.db(ctx). c.db(ctx).
Where("group_id = ? and recv_msg_opt = ? and conversation_type = ?", groupID, constant.ReceiveNotNotifyMessage, constant.SuperGroupChatType). 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, Error,
"", "",
) )

Loading…
Cancel
Save