Commit 0d7316be authored by Philipp Hörist's avatar Philipp Hörist

AccountCreation: Register plugin modules after successful registration

Fixes #9856
parent 0acfc4c8
......@@ -293,7 +293,6 @@ class AccountCreationWizard:
100, self.update_progressbar)
# Get form from serveur
con = connection.Connection(self.account)
app.plugin_manager.register_modules_for_account(con)
app.connections[self.account] = con
con.new_account(self.account, config)
elif cur_page == 3:
......@@ -458,6 +457,10 @@ class AccountCreationWizard:
self.create_vars(obj.account_info)
self.show_finish_page()
# Register plugin modules after successful registration
# Some plugins need the registered JID to function properly
app.plugin_manager.register_modules_for_account(obj.conn)
if self.update_progressbar_timeout_id is not None:
GLib.source_remove(self.update_progressbar_timeout_id)
......
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