summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-01-10 16:28:49 -0500
committerLance Stout <lancestout@gmail.com>2011-01-10 16:28:49 -0500
commit4487a90623bfec9deb119074a9e0f65f97003db0 (patch)
tree4ff1314e870fbde3a7dd89a2b7f3a12de9b32ccc
parent05da8cc3d1f7df7e605914a06edc4f7ddd737432 (diff)
downloadslixmpp-4487a90623bfec9deb119074a9e0f65f97003db0.tar.gz
slixmpp-4487a90623bfec9deb119074a9e0f65f97003db0.tar.bz2
slixmpp-4487a90623bfec9deb119074a9e0f65f97003db0.tar.xz
slixmpp-4487a90623bfec9deb119074a9e0f65f97003db0.zip
Add self.client_roster to make things simpler for clients.
-rw-r--r--sleekxmpp/basexmpp.py1
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