mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Fix crash in opening shared media with another user.
This commit is contained in:
parent
7b4bc64191
commit
f7ec60b958
1 changed files with 3 additions and 0 deletions
|
@ -742,6 +742,9 @@ void ListWidget::start() {
|
|||
}
|
||||
|
||||
void ListWidget::setupSelectRestriction() {
|
||||
if (_peer->isUser()) {
|
||||
return;
|
||||
}
|
||||
const auto chat = _peer->asChat();
|
||||
const auto channel = _peer->asChannel();
|
||||
auto noForwards = chat
|
||||
|
|
Loading…
Add table
Reference in a new issue