2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 07:35:12 +00:00

Jump to date by date click in feed.

This commit is contained in:
John Preston
2018-02-22 02:59:56 +03:00
parent f066f3f139
commit a1be63f890
6 changed files with 115 additions and 23 deletions

View File

@@ -337,7 +337,7 @@ void Controller::showJumpToDate(Dialogs::Key chat, QDate requestedDate) {
return history->chatsListDate().date();
}
} else if (const auto feed = chat.feed()) {
/*if (chatScrollPosition(feed)) {
/*if (chatScrollPosition(feed)) { // #TODO feeds save position
} else */if (!feed->chatsListDate().isNull()) {
return feed->chatsListDate().date();