mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix crash in opening shared media with another user.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user