mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Make filtered lists independent from folders.
This commit is contained in:
@@ -220,8 +220,10 @@ Row::Row(Key key, int pos) : _id(key), _pos(pos) {
|
||||
}
|
||||
}
|
||||
|
||||
uint64 Row::sortKey() const {
|
||||
return _id.entry()->sortKeyInChatList();
|
||||
uint64 Row::sortKey(SortMode mode) const {
|
||||
return (mode == SortMode::Complex)
|
||||
? _id.entry()->sortKeyInChatList()
|
||||
: _id.entry()->sortKeyByDate();
|
||||
}
|
||||
|
||||
void Row::validateListEntryCache() const {
|
||||
|
Reference in New Issue
Block a user