From 8978ef5bcf62760afd483b3c54c50b84c3bf1aeb Mon Sep 17 00:00:00 2001 From: hujiebin Date: Tue, 25 Jul 2023 17:20:12 +0800 Subject: [PATCH] Update enter_room.go --- domain/cache/group_c/enter_room.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domain/cache/group_c/enter_room.go b/domain/cache/group_c/enter_room.go index def6372..814ce8b 100644 --- a/domain/cache/group_c/enter_room.go +++ b/domain/cache/group_c/enter_room.go @@ -40,7 +40,7 @@ func GetLastRoomVisitors(model *domain.Model, imGroupId string) (userIds []uint6 for _, u := range res { uid, _ := strconv.ParseUint(u, 10, 64) if uid > 0 { - userIds = append(userIds) + userIds = append(userIds, uid) } } return -- 2.22.0