Optimised occupant comparisons, create utf8 collate key once

This commit is contained in:
James Booth
2015-05-07 00:26:24 +01:00
parent ca3f7412f5
commit 6fd9b179a0
2 changed files with 7 additions and 9 deletions

View File

@@ -64,6 +64,7 @@ typedef enum {
typedef struct _muc_occupant_t {
char *nick;
gchar *nick_collate_key;
char *jid;
muc_role_t role;
muc_affiliation_t affiliation;