lichess-org / mobile

Lichess mobile app v2
GNU General Public License v3.0
1.36k stars 197 forks source link

Custom setup not respecting side choice #1020

Closed jas14 closed 1 month ago

jas14 commented 2 months ago

What is the problem?

Cross-reporting from https://github.com/lichess-org/lichobile/issues/2501. The gist is that choosing the white side in the custom seek setup may find games where the requesting player plays black, at least in casual games. I'm not sure if the seek request is asking for random or black, or if it's another problem.

I was not able to reproduce this in the old Capacitor-based app, which makes me think this is not a server-side issue unless they're using separate API endpoints.

Steps to reproduce the bug

  1. From home screen, tap "+ Play" floating action button.
  2. Tap "custom"
  3. Deselect "rated" (this may be irrelevant)
  4. Choose side = White
  5. Tap "Create game"

App version

0.10.3

Device Info

Pixel 6

Additional information

No response

jas14 commented 2 months ago

Aha, likely caused by https://github.com/lichess-org/lila/pull/15969#issue-2491715687. We should remove the option to submit fixed-color public seeks.