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

Move draw / getState code to HistoryView::Message.

Item dimensions broken for now.
Also remove history.h from pch.
This commit is contained in:
John Preston
2018-01-13 15:45:11 +03:00
parent bee474f6e9
commit 97a9089ebf
95 changed files with 3215 additions and 2768 deletions

View File

@@ -67,9 +67,7 @@ public:
int pos() const {
return _pos;
}
uint64 sortKey() const {
return _id.entry()->sortKeyInChatList();
}
uint64 sortKey() const;
// for any attached data, for example View in contacts list
void *attached = nullptr;