Commit 507a3cf1 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

XMLConsole: Show stanza generated by the AccountWizard

parent 8b95c66a
Pipeline #5570 passed with stages
in 2 minutes and 44 seconds
......@@ -31,6 +31,7 @@
from gajim.common import app
from gajim.common import configpaths
from gajim.common import helpers
from import NetworkEvent
from gajim.common.helpers import open_uri
from gajim.common.helpers import validate_jid
from gajim.common.helpers import get_proxy
......@@ -236,6 +237,8 @@ def _get_base_client(self,
client.subscribe('disconnected', self._on_disconnected)
client.subscribe('connection-failed', self._on_connection_failed)
client.subscribe('stanza-sent', self._on_stanza_sent)
client.subscribe('stanza-received', self._on_stanza_received)
return client
def _disconnect(self):
......@@ -245,6 +248,18 @@ def _disconnect(self):
self._client = None
def _on_stanza_sent(_client, _signal_name, stanza):'stanza-sent',
def _on_stanza_received(_client, _signal_name, stanza):'stanza-received',
def _test_credentials(self, ignore_all_errors=False):
_('Connecting to server...'))
......@@ -267,6 +267,7 @@ def _get_accounts():
for account in accounts:
label = app.get_account_label(account)
combo_accounts.append((account, label))
combo_accounts.append(('AccountWizard', 'Account Wizard'))
return combo_accounts
def _on_filter_options(self, *args):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment