diff --git a/plinth/modules/ejabberd/__init__.py b/plinth/modules/ejabberd/__init__.py index 785540a26..239059efe 100644 --- a/plinth/modules/ejabberd/__init__.py +++ b/plinth/modules/ejabberd/__init__.py @@ -39,7 +39,7 @@ depends = ['apps'] managed_services = ['ejabberd'] -managed_packages = ['libjs-jsxc', 'ejabberd'] +managed_packages = ['ejabberd'] title = _('Chat Server \n (XMPP)') @@ -98,9 +98,6 @@ def setup(helper, old_version=None): def add_shortcut(): - frontpage.add_shortcut('jsxc', _('Chat Client \n (jsxc)'), - url=reverse_lazy('xmpp:jsxc'), - login_required=True) frontpage.add_shortcut('xmpp', title, details=description, configure_url=reverse_lazy('xmpp:index'), @@ -128,7 +125,6 @@ def enable(): def disable(): """Enable the module.""" actions.superuser_run('xmpp', ['disable']) - frontpage.remove_shortcut('jsxc') frontpage.remove_shortcut('xmpp') diff --git a/plinth/modules/jsxc/__init__.py b/plinth/modules/jsxc/__init__.py index 785540a26..802e34303 100644 --- a/plinth/modules/jsxc/__init__.py +++ b/plinth/modules/jsxc/__init__.py @@ -16,7 +16,7 @@ # """ -Plinth module to configure XMPP server +Plinth module to configure XMPP web client/jsxc """ from django.urls import reverse_lazy @@ -37,15 +37,11 @@ version = 2 depends = ['apps'] -managed_services = ['ejabberd'] - -managed_packages = ['libjs-jsxc', 'ejabberd'] +managed_packages = ['libjs-jsxc'] title = _('Chat Server \n (XMPP)') description = [ - _('XMPP is an open and standardized communication protocol. Here ' - 'you can run and configure your XMPP server, called ejabberd.'), _('To actually communicate, you can use the web client or any other ' '{{ paragraph|safe }}
{% endfor %} -- {% url 'config:index' as index_url %} - {% if domainname %} - {% blocktrans trimmed with domainname=domainname %} - Your XMPP server domain is set to {{ domainname }}. User - IDs will look like username@{{ domainname }}. You - can setup your domain on the system - Configure page. - {% endblocktrans %} - {% else %} - Your XMPP server domain is not set. You can setup your domain on - the system Configure page. - {% endif %} -