diff frontends/src/quick_frontend/quick_app.py @ 1436:e27963c9c219

quick_frontend: add a couple of TODOs
author souliane <souliane@mailoo.org>
date Mon, 13 Jul 2015 13:33:54 +0200
parents 7590bbf44eed
children 6ce18c4e5708
line wrap: on
line diff
--- 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):