settings: Add personal setting to show or hide AI features.

Fixes #33231.
This commit is contained in:
Sahil Batra
2025-02-11 18:49:41 +05:30
committed by Tim Abbott
parent 4ca28bb850
commit 7eeb8a2c26
16 changed files with 102 additions and 23 deletions

View File

@@ -329,6 +329,7 @@ def json_change_settings(
| None = None,
web_navigate_to_sent_message: Json[bool] | None = None,
web_suggest_update_timezone: Json[bool] | None = None,
hide_ai_features: Json[bool] | None = None,
) -> HttpResponse:
# UserProfile object is being refetched here to make sure that we
# do not use stale object from cache which can happen when a