mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Fix possible crash in swipe-to-reply.
This commit is contained in:
parent
d0a8bd1f03
commit
36962b8c62
1 changed files with 2 additions and 1 deletions
|
@ -900,7 +900,8 @@ void RepliesWidget::setupSwipeReply() {
|
|||
return result;
|
||||
}
|
||||
const auto view = _inner->lookupItemByY(cursorTop);
|
||||
if (!view->data()->isRegular()
|
||||
if (!view
|
||||
|| !view->data()->isRegular()
|
||||
|| view->data()->isService()) {
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue