diff --git a/domain/cache/group_c/enter_room.go b/domain/cache/group_c/enter_room.go index def6372ef2c1ded5780da37d7130fe0a2e713660..814ce8b0c0062473a5b3bae6240714edf3da68d3 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