mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Don't open stories on saved messages click.
This commit is contained in:
parent
150cbe2866
commit
d7d493e0bf
1 changed files with 3 additions and 1 deletions
|
@ -528,7 +528,9 @@ void Widget::chosenRow(const ChosenRow &row) {
|
|||
const auto peer = history->peer;
|
||||
if (const auto user = history->peer->asUser()) {
|
||||
if (row.message.fullId.msg == ShowAtUnreadMsgId) {
|
||||
if (row.userpicClick && user->hasActiveStories()) {
|
||||
if (row.userpicClick
|
||||
&& user->hasActiveStories()
|
||||
&& !user->isSelf()) {
|
||||
controller()->openPeerStories(user->id);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue