comparison frontends/src/quick_frontend/quick_app.py @ 1599:e2ed8009e66e

backend, bridge, frontends: actionNew has now a security_limit argument + added some docstring to explain data argument
author Goffi <goffi@goffi.org>
date Sat, 14 Nov 2015 19:21:56 +0100
parents 641cfd2faefe
children 2071d5cec5d6
comparison
equal deleted inserted replaced
1598:b144babc2658 1599:e2ed8009e66e
462 """called when the connection is closed""" 462 """called when the connection is closed"""
463 log.debug(_("Disconnected")) 463 log.debug(_("Disconnected"))
464 self.contact_lists[profile].clearContacts() 464 self.contact_lists[profile].clearContacts()
465 self.setPresenceStatus(C.PRESENCE_UNAVAILABLE, '', profile=profile) 465 self.setPresenceStatus(C.PRESENCE_UNAVAILABLE, '', profile=profile)
466 466
467 def actionNewHandler(self, action_data, id_, profile): 467 def actionNewHandler(self, action_data, id_, security_limit, profile):
468 self.actionManager(action_data, profile=profile) 468 self.actionManager(action_data, profile=profile)
469 469
470 def newContactHandler(self, jid_s, attributes, groups, profile): 470 def newContactHandler(self, jid_s, attributes, groups, profile):
471 entity = jid.JID(jid_s) 471 entity = jid.JID(jid_s)
472 _groups = list(groups) 472 _groups = list(groups)