diff options
author | Lance Stout <lancestout@gmail.com> | 2011-01-10 16:28:49 -0500 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-01-10 16:28:49 -0500 |
commit | 4487a90623bfec9deb119074a9e0f65f97003db0 (patch) | |
tree | 4ff1314e870fbde3a7dd89a2b7f3a12de9b32ccc /sleekxmpp | |
parent | 05da8cc3d1f7df7e605914a06edc4f7ddd737432 (diff) | |
download | slixmpp-4487a90623bfec9deb119074a9e0f65f97003db0.tar.gz slixmpp-4487a90623bfec9deb119074a9e0f65f97003db0.tar.bz2 slixmpp-4487a90623bfec9deb119074a9e0f65f97003db0.tar.xz slixmpp-4487a90623bfec9deb119074a9e0f65f97003db0.zip |
Add self.client_roster to make things simpler for clients.
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/basexmpp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py index b1d04639..699424ca 100644 --- a/sleekxmpp/basexmpp.py +++ b/sleekxmpp/basexmpp.py @@ -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 |