mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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);
|
}, &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), [=] {
|
||||||
|
|
Loading…
Add table
Reference in a new issue