From 4487a90623bfec9deb119074a9e0f65f97003db0 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Mon, 10 Jan 2011 16:28:49 -0500 Subject: [PATCH] Add self.client_roster to make things simpler for clients. --- sleekxmpp/basexmpp.py | 1 + 1 file changed, 1 insertion(+) 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