mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-29 13:39:06 +00:00
Sort chats list stories by unread state.
This commit is contained in:
parent
d82381881a
commit
4e165a2107
@ -162,6 +162,9 @@ Content State::next() {
|
||||
#endif
|
||||
});
|
||||
}
|
||||
ranges::stable_partition(result.users, [](const User &user) {
|
||||
return user.unread;
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user