mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Show "Hide My View" only for user stories.
This commit is contained in:
@@ -1806,7 +1806,10 @@ void OverlayWidget::fillContextMenuActions(
|
|||||||
}, &st::mediaMenuIconStats);
|
}, &st::mediaMenuIconStats);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_stories && _stories->allowStealthMode()) {
|
if (_stories
|
||||||
|
&& _stories->allowStealthMode()
|
||||||
|
&& story
|
||||||
|
&& story->peer()->isUser()) {
|
||||||
const auto now = base::unixtime::now();
|
const auto now = base::unixtime::now();
|
||||||
const auto stealth = _session->data().stories().stealthMode();
|
const auto stealth = _session->data().stories().stealthMode();
|
||||||
addAction(tr::lng_stealth_mode_menu_item(tr::now), [=] {
|
addAction(tr::lng_stealth_mode_menu_item(tr::now), [=] {
|
||||||
|
Reference in New Issue
Block a user