diff options
author | mathieui <mathieui@mathieui.net> | 2020-03-29 16:21:32 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-03-29 16:21:32 +0200 |
commit | 854bb0cedb151e185b9710937cf04d8757b9f100 (patch) | |
tree | f3459c1c53197790ee89b06f8bfc7871c3931484 | |
parent | 4c3b3e869e281173499fcc41cec73bbf970387e3 (diff) | |
parent | 7a93017beb8393621012429cddf08121b397f916 (diff) | |
download | poezio-854bb0cedb151e185b9710937cf04d8757b9f100.tar.gz poezio-854bb0cedb151e185b9710937cf04d8757b9f100.tar.bz2 poezio-854bb0cedb151e185b9710937cf04d8757b9f100.tar.xz poezio-854bb0cedb151e185b9710937cf04d8757b9f100.zip |
Merge branch 'fix-reconnect' into 'master'
Fix 'disconnected' event handler order for /quit
See merge request poezio/poezio!73
-rw-r--r-- | poezio/core/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/commands.py b/poezio/core/commands.py index fca9a705..f3498ed9 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -1035,9 +1035,9 @@ class CommandCore: self.core.xmpp.plugin['xep_0196'].stop() self.core.save_config() self.core.plugin_manager.disable_plugins() - self.core.disconnect(msg) self.core.xmpp.add_event_handler( "disconnected", self.core.exit, disposable=True) + self.core.disconnect(msg) @command_args_parser.quoted(0, 1, ['']) def destroy_room(self, args: List[str]) -> None: |