Add self.client_roster to make things simpler for clients.

This commit is contained in:
Lance Stout 2011-01-10 16:28:49 -05:00
parent 05da8cc3d1
commit 4487a90623

View file

@ -116,6 +116,7 @@ class BaseXMPP(XMLStream):
self.roster = roster.Roster(self)
self.roster.add(self.boundjid.bare)
self.client_roster = self.roster[self.boundjid.bare]
self.is_component = False
self.auto_authorize = True