core (stdui): added a FIXME to not use plugin/default_host in the future

This commit is contained in:
Goffi 2017-06-21 19:47:38 +02:00
commit 98d328ca47

View file

@ -37,6 +37,7 @@ class ContactList(object):
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: