Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "Sensitive Content" option in "Privacy and Security" settings #26287

Closed
Mortrus opened this issue May 13, 2023 · 5 comments
Closed

No "Sensitive Content" option in "Privacy and Security" settings #26287

Mortrus opened this issue May 13, 2023 · 5 comments

Comments

@Mortrus
Copy link

Mortrus commented May 13, 2023

Steps to reproduce

  1. Download latest Telegram Desktop
  2. Go to "Privacy and Security" settings

image

Expected behaviour

There should be an option "Sensitive Content" in "Privacy and Security" settings.

Actual behaviour

There is no option "Sensitive Content" in "Privacy and Security" settings.
image

I have downloaded Telegram from official web site.
The "bug" happens because of this code in tdesktop/Telegram/SourceFiles/settings/settings_privacy_security.cpp https://github.com/telegramdesktop/tdesktop/blob/37f5576c389a4257917f5621680aac1f46b74ad4/Telegram/SourceFiles/settings/settings_privacy_security.cpp#LL872C1-L873C56

#if !defined OS_MAC_STORE && !defined OS_WIN_STORE
	SetupSensitiveContent(controller, content, trigger());

Operating system

Microsoft Windows 10 Home

Version of Telegram Desktop

4.8.1 x64

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

@Mortrus Mortrus added the bug label May 13, 2023
@ilya-fedin
Copy link
Contributor

If you don't have the option, it means the server just doesn't allow it for you

@Mortrus
Copy link
Author

Mortrus commented May 13, 2023

If you don't have the option, it means the server just doesn't allow it for you

I've updated my report. Please check "Actual behaviour" section. It's restricted by the code, IDK why.

@ilya-fedin
Copy link
Contributor

The code in the snippet you provided looks completely valid

@Mortrus
Copy link
Author

Mortrus commented May 13, 2023

But behaviour is invalid.
I downloaded Telegram Desktop 4.8.1 x64 from Microsoft Store, the same problem happens with it.

image

@ilya-fedin
Copy link
Contributor

ilya-fedin commented May 13, 2023

Yes, the store versions aren't supposed to show this option, it's an intended restriction due to store policies. If you don't see this option in non-store builds as well, it means the server has prohibited you to change it, as I already said. Sorry, but it's all is intended and you can't do anything (except of changing the country you live in probably).

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants