mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Support pinned locally in filters.
This commit is contained in:
@@ -220,10 +220,8 @@ Row::Row(Key key, int pos) : _id(key), _pos(pos) {
|
||||
}
|
||||
}
|
||||
|
||||
uint64 Row::sortKey(SortMode mode) const {
|
||||
return (mode == SortMode::Complex)
|
||||
? _id.entry()->sortKeyInChatList()
|
||||
: _id.entry()->sortKeyByDate();
|
||||
uint64 Row::sortKey(FilterId filterId) const {
|
||||
return _id.entry()->sortKeyInChatList(filterId);
|
||||
}
|
||||
|
||||
void Row::validateListEntryCache() const {
|
||||
|
Reference in New Issue
Block a user