mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Show "Hide My View" only for user stories.
This commit is contained in:
parent
52953626a7
commit
93c01e5f1e
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue