Commit 8978ef5b authored by hujiebin's avatar hujiebin

Update enter_room.go

parent 8ee525e9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment