Skip to content

Only enable "Challenge a friend" when online#2904

Merged
veloce merged 1 commit into
lichess-org:mainfrom
freebeartogoodhome:checkisOnline
Apr 8, 2026
Merged

Only enable "Challenge a friend" when online#2904
veloce merged 1 commit into
lichess-org:mainfrom
freebeartogoodhome:checkisOnline

Conversation

@freebeartogoodhome

Copy link
Copy Markdown
Contributor

This will change it to match the other items in the menu that don't work while offline.

@veloce veloce left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@veloce veloce merged commit 64df54d into lichess-org:main Apr 8, 2026
1 check passed
@freebeartogoodhome freebeartogoodhome deleted the checkisOnline branch April 13, 2026 21:50
@J0J0XMR

J0J0XMR commented Apr 16, 2026

Copy link
Copy Markdown

This means I can only send a challenge only when I am online or only when my friend is?

@freebeartogoodhome

Copy link
Copy Markdown
Contributor Author

The app user must be online.

If you are offline and click on the Play button some things will be greyed out. Arena tournaments, for example. This is just like that. We prevent the app user from clicking on it because we know it won't work.

@J0J0XMR

J0J0XMR commented Apr 16, 2026

Copy link
Copy Markdown

The app user must be online.

If you are offline and click on the Play button some things will be greyed out. Arena tournaments, for example. This is just like that. We prevent the app user from clicking on it because we know it won't work.

OK great, because sending a request to an offline friend is very useful (they'll accept when they're ready).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants