diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-05-26 18:30:52 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-05-26 18:30:52 (GMT) |
commit | 103e5d04240fa6c9decf54802bca083c2cd65744 (patch) | |
tree | b7549d9109099407ae0c64a3f37218cd5838a31b /Swiften/Roster/Roster.h | |
parent | e497af7cd28d2cf58d81ed8fd351b5d5ccfa56a4 (diff) | |
download | swift-contrib-103e5d04240fa6c9decf54802bca083c2cd65744.zip swift-contrib-103e5d04240fa6c9decf54802bca083c2cd65744.tar.bz2 |
Do JID Map lookups for MUC rosters.
In the same way as was already done for user rosters.
Resolves: #395
Diffstat (limited to 'Swiften/Roster/Roster.h')
-rw-r--r-- | Swiften/Roster/Roster.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/Roster/Roster.h b/Swiften/Roster/Roster.h index 3af89d7..fcc075a 100644 --- a/Swiften/Roster/Roster.h +++ b/Swiften/Roster/Roster.h @@ -25,7 +25,7 @@ class ContactRosterItem; class Roster { public: - Roster(); + Roster(bool fullJIDMapping = false); ~Roster(); void addContact(const JID& jid, const String& name, const String& group); @@ -51,6 +51,7 @@ class Roster { GroupRosterItem* root_; std::vector<RosterFilter*> filters_; std::map<JID, std::vector<ContactRosterItem*> > itemMap_; + bool fullJIDMapping_; }; } |