mirror of
https://github.com/youwen5/iamb.git
synced 2025-08-04 11:38:28 -07:00
Do proper Unicode collation on room names (#440)
This commit is contained in:
parent
9ed9400b67
commit
ba7d0392d8
6 changed files with 85 additions and 21 deletions
|
@ -1486,6 +1486,9 @@ pub struct ChatStore {
|
|||
|
||||
/// Whether the application is currently focused
|
||||
pub focused: bool,
|
||||
|
||||
/// Collator for locale-aware text sorting.
|
||||
pub collator: feruca::Collator,
|
||||
}
|
||||
|
||||
impl ChatStore {
|
||||
|
@ -1500,6 +1503,7 @@ impl ChatStore {
|
|||
cmds: crate::commands::setup_commands(),
|
||||
emojis: emoji_map(),
|
||||
|
||||
collator: Default::default(),
|
||||
names: Default::default(),
|
||||
rooms: Default::default(),
|
||||
presences: Default::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue