comparison frontends/quick_frontend/quick_app.py @ 71:efe81b61673c

quick app: updatedValue wrong parameter fix
author Goffi <goffi@goffi.org>
date Sat, 06 Mar 2010 14:57:23 +1100
parents 8f2ed279784b
children f271fff3a713
comparison
equal deleted inserted replaced
70:8f2ed279784b 71:efe81b61673c
239 try: 239 try:
240 self.profiles[profile]['onlineContact'].remove(target.short) 240 self.profiles[profile]['onlineContact'].remove(target.short)
241 except KeyError: 241 except KeyError:
242 pass 242 pass
243 243
244 def updatedValue(self, name, data, profile): 244 def updatedValue(self, name, data):
245 if not self.__check_profile(profile):
246 return
247 if name == "card_nick": 245 if name == "card_nick":
248 target = JID(data['jid']) 246 target = JID(data['jid'])
249 self.CM.update(target, 'nick', data['nick']) 247 self.CM.update(target, 'nick', data['nick'])
250 self.contactList.replace(target) 248 self.contactList.replace(target)
251 elif name == "card_avatar": 249 elif name == "card_avatar":