Fix: room hot sort

pull/31/head
zijiren233 3 years ago
parent 9fa150a90a
commit b2e0c920f7

@ -217,7 +217,7 @@ func GetRoomHeapInCacheWithoutHidden() []*RoomInfo {
}
return true
})
return rooms.Slice()
return rooms.SortStable().Slice()
}
func SetRoomStatus(roomID string, status model.RoomStatus) error {

Loading…
Cancel
Save