mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Add safe check for strange click reports.
This commit is contained in:
@@ -5072,7 +5072,9 @@ void HistoryWidget::doneShow() {
|
||||
|
||||
void HistoryWidget::cornerButtonsShowAtPosition(
|
||||
Data::MessagePosition position) {
|
||||
if (position == Data::UnreadMessagePosition) {
|
||||
if (!_peer) {
|
||||
return;
|
||||
} else if (position == Data::UnreadMessagePosition) {
|
||||
DEBUG_LOG(("JumpToEnd(%1, %2, %3): Show at unread requested."
|
||||
).arg(_history->peer->name()
|
||||
).arg(_history->inboxReadTillId().bare
|
||||
|
||||
Reference in New Issue
Block a user