mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Sort chats list stories by unread state.
This commit is contained in:
@@ -162,6 +162,9 @@ Content State::next() {
|
|||||||
#endif
|
#endif
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
ranges::stable_partition(result.users, [](const User &user) {
|
||||||
|
return user.unread;
|
||||||
|
});
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user