changeset 2263:90189f312fd3

core (stdui): added a FIXME to not use plugin/default_host in the future
author Goffi <goffi@goffi.org>
date Wed, 21 Jun 2017 19:47:38 +0200
parents 24f5a4d5f195
children a8eaaac4d80f
files src/stdui/ui_contact_list.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/stdui/ui_contact_list.py	Wed Jun 21 19:40:13 2017 +0200
+++ b/src/stdui/ui_contact_list.py	Wed Jun 21 19:47:38 2017 +0200
@@ -37,6 +37,7 @@
         host.importMenu((D_("Contacts"), D_("Update contact")), self._getUpdateDialogXMLUI, security_limit=2, help_string=D_("Update contact"))
         host.importMenu((D_("Contacts"), D_("Remove contact")), self._getRemoveDialogXMLUI, security_limit=2, help_string=D_("Remove contact"))
 
+        # FIXME: a plugin should not be used here, and current profile's jid host would be better than installation wise host
         if 'MISC-ACCOUNT' in self.host.plugins:
             self.default_host = self.host.plugins['MISC-ACCOUNT'].getNewAccountDomain()
         else: