Skip to content
Snippets Groups Projects
Commit 1449be9b authored by nkour's avatar nkour
Browse files

commit a patch for xmpppy

parent ff1a6487
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,8 @@ class Roster(PlugIn):
internal roster representation. """
jid=JID(pres.getFrom())
if not self._data.has_key(jid.getStripped()): self._data[jid.getStripped()]={'name':None,'ask':None,'subscription':'none','groups':['Not in roster'],'resources':{}}
if type(self._data[jid.getStripped()]['resources'])!=type(dict()):
self._data[jid.getStripped()]['resources']={}
item=self._data[jid.getStripped()]
typ=pres.getType()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment