# HG changeset patch # User Goffi # Date 1498067258 -7200 # Node ID 90189f312fd337b0ea9ce54da04e9f7a64888b76 # Parent 24f5a4d5f1953fdb3b15e827e1f194b8a99597cb core (stdui): added a FIXME to not use plugin/default_host in the future diff -r 24f5a4d5f195 -r 90189f312fd3 src/stdui/ui_contact_list.py --- 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: