Tdesktop: Can't access to porn-banned channel

Created on 6 Jul 2019  路  8Comments  路  Source: telegramdesktop/tdesktop

Steps to reproduce

  1. Update to 1.7.12
  2. Try to open https://t.me/blyadtoivo for example
  3. You can't
    image

Configuration

Operating system: Win 10 LTSC 1809

Version of Telegram Desktop: 1.7.12

Used theme: Default

With 1.7.11 all is fine.

Why iOS restrictions now on desktop client?

Most helpful comment

@Cloppershy Yes, there was a bug, I'll fix in the next version.

All 8 comments

It might be this change:
https://github.com/telegramdesktop/tdesktop/commit/567bf6064485a25da3c5d17f292246160f97c3da#diff-b99ddd9318c76137723d8b371d3ef526R616

Before, an unavailable reason was only set if data.is_restricted() is true. After the change, it is always set as long as data.vrestriction_reason() is not null. I'm not sure what the Telegram API returns, but if for some reason it returns a vrestriction_reason even if is_restricted is false, it would cause an issue.

channel->setUnavailableReason(qs(*restriction)); should be channel->setUnavailableReason(ExtractUnavailableReason(qs(*restriction))); instead, as the ExtractUnavailableReason call filters out restrictions that don't apply.

@Cloppershy Yes, there was a bug, I'll fix in the next version.

meh
image

waiting for fix~ 馃

@Neurotoxin001 Should be fixed in 1.7.13.

It is fixed. Thanks.

Not Fixed in iran.

The same one is for Ukraine on MacOS and iOS. Can you fix this?
IMG_096F81332438-1

@vpapidokha it looks like you're using the native MacOS app, go to https://github.com/overtake/TelegramSwift/issues

Was this page helpful?
0 / 5 - 0 ratings