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