Skip to content

Commit

Permalink
fix: wrong column (#1309)
Browse files Browse the repository at this point in the history
* fix: wrong column

* fix: wrong column 2
  • Loading branch information
a3d21 committed Nov 5, 2023
1 parent cb0bf64 commit 450fe26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/common/db/relation/conversation_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (c *ConversationGorm) FindRecvMsgNotNotifyUserIDs(
return userIDs, utils.Wrap(
c.db(ctx).
Where("group_id = ? and recv_msg_opt = ?", groupID, constant.ReceiveNotNotifyMessage).
Pluck("user_id", &userIDs).
Pluck("owner_user_id", &userIDs).
Error,
"",
)
Expand All @@ -156,7 +156,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,
"",
)
Expand Down

0 comments on commit 450fe26

Please sign in to comment.