fix(server): remove old workaround

This commit is contained in:
Anna 2022-08-25 17:10:31 -04:00
parent 5d92a6140f
commit a9f27f5cb0
1 changed files with 0 additions and 12 deletions

View File

@ -451,18 +451,6 @@ fn contribute_multiple(state: Arc<State>) -> BoxedFilter<(impl Reply, )> {
}
async fn insert_listing(state: &State, mut listing: PartyFinderListing) -> mongodb::error::Result<UpdateResult> {
if listing.created_world >= 144 && listing.created_world <= 147 {
listing.created_world += 256;
}
if listing.home_world >= 144 && listing.home_world <= 147 {
listing.home_world += 256;
}
if listing.current_world >= 144 && listing.current_world <= 147 {
listing.current_world += 256;
}
let opts = UpdateOptions::builder()
.upsert(true)
.build();