Add self.client_roster to make things simpler for clients.
This commit is contained in:
parent
05da8cc3d1
commit
4487a90623
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ class BaseXMPP(XMLStream):
|
||||||
|
|
||||||
self.roster = roster.Roster(self)
|
self.roster = roster.Roster(self)
|
||||||
self.roster.add(self.boundjid.bare)
|
self.roster.add(self.boundjid.bare)
|
||||||
|
self.client_roster = self.roster[self.boundjid.bare]
|
||||||
|
|
||||||
self.is_component = False
|
self.is_component = False
|
||||||
self.auto_authorize = True
|
self.auto_authorize = True
|
||||||
|
|
Loading…
Reference in a new issue