a
This commit is contained in:
@@ -267,8 +267,8 @@ func GetMessageGroupMembers(db *DaoDB, groupID, groupType int, memberUserID stri
|
||||
FROM message_group_member a
|
||||
`
|
||||
if groupType != 0 {
|
||||
sql += ` JOIN message_group b ON b.group_id = a.group_id AND b.type = ?`
|
||||
sqlParams = append(sqlParams, groupType)
|
||||
sql += ` JOIN message_group b ON b.group_id = a.group_id AND b.type = ? AND b.deleted_at = ?`
|
||||
sqlParams = append(sqlParams, groupType, utils.DefaultTimeValue)
|
||||
}
|
||||
sql += `
|
||||
WHERE a.deleted_at = ?
|
||||
|
||||
Reference in New Issue
Block a user