# HG changeset patch # User souliane # Date 1436787234 -7200 # Node ID e27963c9c219853da67ecd2af4a5f46b07d26d66 # Parent 7590bbf44eed9a9e97e67b79af68b1b69d7076ab quick_frontend: add a couple of TODOs diff -r 7590bbf44eed -r e27963c9c219 frontends/src/quick_frontend/quick_app.py --- a/frontends/src/quick_frontend/quick_app.py Wed Jun 10 18:04:43 2015 +0200 +++ b/frontends/src/quick_frontend/quick_app.py Mon Jul 13 13:33:54 2015 +0200 @@ -622,12 +622,14 @@ entity = jid.JID(raw_jid) if type == "subscribed": # this is a subscription confirmation, we just have to inform user + # TODO: call self.getEntityMBlog to add the new contact blogs self.showDialog(_("The contact %s has accepted your subscription") % entity.bare, _('Subscription confirmation')) elif type == "unsubscribed": # this is a subscription refusal, we just have to inform user self.showDialog(_("The contact %s has refused your subscription") % entity.bare, _('Subscription refusal'), 'error') elif type == "subscribe": # this is a subscriptionn request, we have to ask for user confirmation + # TODO: use sat.stdui.ui_contact_list to display the groups selector self.showDialog(_("The contact %s wants to subscribe to your presence.\nDo you accept ?") % entity.bare, _('Subscription confirmation'), 'yes/no', answer_cb=self._subscribe_cb, answer_data=(entity, profile)) def showDialog(self, message, title, type="info", answer_cb=None, answer_data=None):