2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Fix poll result header on scroll top.

This commit is contained in:
John Preston
2020-01-16 15:51:58 +03:00
parent 5acb7448b7
commit e6c005dcba
3 changed files with 64 additions and 30 deletions

View File

@@ -217,7 +217,7 @@ Dialogs::RowDescriptor WrapWidget::activeChat() const {
return Dialogs::RowDescriptor(peer->owner().history(peer), FullMsgId());
//} else if (const auto feed = key().feed()) { // #feed
// return Dialogs::RowDescriptor(feed, FullMsgId());
} else if (key().settingsSelf()) {
} else if (key().settingsSelf() || key().poll()) {
return Dialogs::RowDescriptor();
}
Unexpected("Owner in WrapWidget::activeChat().");