mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-24 17:26:58 +00:00
Fix possible crash in swipe-to-reply.
This commit is contained in:
parent
d0a8bd1f03
commit
36962b8c62
@ -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…
Reference in New Issue
Block a user