feat: add conversation system action messages
This commit is contained in:
@@ -8635,8 +8635,9 @@ func (a *adapter) TenantFriendshipList(id t.TenantID, uid t.Uid, queryText, init
|
||||
if limit <= 0 || limit > 100 {
|
||||
limit = 50
|
||||
}
|
||||
where := []string{"fs.user_id=?", "fs.status=?"}
|
||||
args := []any{decodeUID(uid), t.RelationshipFriend}
|
||||
uidID := decodeUID(uid)
|
||||
where := []string{"fs.user_id=?", "fs.status=?", "fs.peer_id<>?"}
|
||||
args := []any{uidID, t.RelationshipFriend, uidID}
|
||||
if cursor != "" {
|
||||
parsed, err := strconv.ParseInt(cursor, 10, 64)
|
||||
if err != nil || parsed <= 0 {
|
||||
|
||||
Reference in New Issue
Block a user