mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
fix: make it build
fix: `disableStories`
This commit is contained in:
@@ -536,11 +536,9 @@ void Widget::chosenRow(const ChosenRow &row) {
|
||||
&& row.userpicClick
|
||||
&& (row.message.fullId.msg == ShowAtUnreadMsgId)
|
||||
&& history->peer->hasActiveStories()
|
||||
&& !history->peer->isSelf()) {
|
||||
const auto settings = &AyuSettings::getInstance();
|
||||
if (!settings->disableStories) {
|
||||
controller()->openPeerStories(history->peer->id);
|
||||
}
|
||||
&& !history->peer->isSelf()
|
||||
&& !AyuSettings::getInstance().disableStories) {
|
||||
controller()->openPeerStories(history->peer->id);
|
||||
return;
|
||||
} else if (history
|
||||
&& history->isForum()
|
||||
|
||||
Reference in New Issue
Block a user