core (stdui): added a FIXME to not use plugin/default_host in the future
This commit is contained in:
parent
e30f22ec4c
commit
98d328ca47
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue