Philipp Hörist pushed to branch master at gajim / gajim
Commits:
0d7316be by Philipp Hörist at 2019-10-18T21:34:09Z
AccountCreation: Register plugin modules after successful registration
Fixes #9856
- - - - -
1 changed file:
- gajim/gtk/account_wizard.py
Changes:
=====================================
gajim/gtk/account_wizard.py
=====================================
@@ -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)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/0d7316be2dfb447240af96df1f20df9e2cdad0c0
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/0d7316be2dfb447240af96df1f20df9e2cdad0c0
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits