mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 05:58:38 +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
|
#endif
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
ranges::stable_partition(result.users, [](const User &user) {
|
||||||
|
return user.unread;
|
||||||
|
});
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user