comparison frontends/src/quick_frontend/quick_app.py @ 2042:2e948c228643

quick frontend (quick_app): fixed user_action from action coming from backend
author Goffi <goffi@goffi.org>
date Sun, 21 Aug 2016 20:39:43 +0200
parents f607349a01a4
children b67aece4a667
comparison
equal deleted inserted replaced
2041:456abbceee19 2042:2e948c228643
461 log.debug(_("Disconnected")) 461 log.debug(_("Disconnected"))
462 self.contact_lists[profile].disconnect() 462 self.contact_lists[profile].disconnect()
463 self.setPresenceStatus(C.PRESENCE_UNAVAILABLE, '', profile=profile) 463 self.setPresenceStatus(C.PRESENCE_UNAVAILABLE, '', profile=profile)
464 464
465 def actionNewHandler(self, action_data, id_, security_limit, profile): 465 def actionNewHandler(self, action_data, id_, security_limit, profile):
466 self.actionManager(action_data, profile=profile) 466 self.actionManager(action_data, user_action=False, profile=profile)
467 467
468 def newContactHandler(self, jid_s, attributes, groups, profile): 468 def newContactHandler(self, jid_s, attributes, groups, profile):
469 entity = jid.JID(jid_s) 469 entity = jid.JID(jid_s)
470 groups = list(groups) 470 groups = list(groups)
471 self.contact_lists[profile].setContact(entity, groups, attributes, in_roster=True) 471 self.contact_lists[profile].setContact(entity, groups, attributes, in_roster=True)