From 53ededcb19fd0384e96dbe7677ced2faf0de500a Mon Sep 17 00:00:00 2001 From: Madhur Garg Date: Fri, 22 Mar 2019 17:15:02 +0530 Subject: Corrects functionality of /reconnect in all type of tabs. Fixes #3471 Corrects functionality of /reconnect in all type of tabs. Fixes #3471 Moved command_reconnect from particular tabs to core.commands. Fixes #3471 --- poezio/core/core.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'poezio/core/core.py') diff --git a/poezio/core/core.py b/poezio/core/core.py index 79b5d56f..6bb19d16 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -1758,6 +1758,13 @@ class Core: "currently using in this room (instead of default_nick).", shortdesc="Bookmark a room online.", completion=self.completion.bookmark) + self.register_command( + 'reconnect', + self.command.command_reconnect, + usage="[reconnect]", + desc='Disconnect from the remote server if you are ' + 'currently connected and then connect to it again.', + shortdesc='Disconnect and reconnect to the server.') self.register_command( 'set', self.command.set, -- cgit v1.2.3