fix var name

This commit is contained in:
Yann Leboulanger 2010-08-10 09:28:11 +02:00
parent 87ebeb3d24
commit 457f75c945
1 changed files with 2 additions and 2 deletions

View File

@ -2540,13 +2540,13 @@ class RosterItemExchangeEvent(nec.NetworkIncomingEvent, HelperEvent):
self.get_id()
self.get_jid_resource()
self.exchange_items_list = {}
items_list = msg.getTag('x').getChildren()
items_list = self.iq_obj.getTag('x').getChildren()
if not items_list:
return
self.action = items_list[0].getAttr('action')
if self.action is None:
self.action = 'add'
for item in msg.getTag('x', namespace=common.xmpp.NS_ROSTERX).\
for item in self.iq_obj.getTag('x', namespace=common.xmpp.NS_ROSTERX).\
getChildren():
try:
jid = helpers.parse_jid(item.getAttr('jid'))