fix: wrong column (#1309)

* fix: wrong column

* fix: wrong column 2
pull/1343/head
a3d21 1 year ago committed by GitHub
parent cb0bf64435
commit 450fe26cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -143,7 +143,7 @@ func (c *ConversationGorm) FindRecvMsgNotNotifyUserIDs(
return userIDs, utils.Wrap( return userIDs, utils.Wrap(
c.db(ctx). c.db(ctx).
Where("group_id = ? and recv_msg_opt = ?", groupID, constant.ReceiveNotNotifyMessage). Where("group_id = ? and recv_msg_opt = ?", groupID, constant.ReceiveNotNotifyMessage).
Pluck("user_id", &userIDs). Pluck("owner_user_id", &userIDs).
Error, Error,
"", "",
) )
@ -156,7 +156,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