From 0f7ec35c971a1b3f9408d3f4a70935c5f65bb818 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 25 Sep 2011 18:25:50 +0200 Subject: Remove /pubsub command for the time being --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core.py') diff --git a/src/core.py b/src/core.py index b93678ab..230253de 100644 --- a/src/core.py +++ b/src/core.py @@ -125,7 +125,7 @@ class Core(object): 'connect': (self.command_reconnect, _('Usage: /connect\nConnect: disconnect from the remote server if you are currently connected and then connect to it again'), None), 'server_cycle': (self.command_server_cycle, _('Usage: /server_cycle [domain] [message]\nServer Cycle: disconnect and reconnects in all the rooms in domain.'), None), 'bind': (self.command_bind, _('Usage: /bind \nBind: bind a key to an other key or to a “command”. For example "/bind ^H KEY_UP" makes Control + h do the same same than the Up key.'), None), - 'pubsub': (self.command_pubsub, _('Usage: /pubsub \nPubsub: Open a pubsub browser on the given domain'), None), +# nope 'pubsub': (self.command_pubsub, _('Usage: /pubsub \nPubsub: Open a pubsub browser on the given domain'), None), } self.key_func = { -- cgit v1.2.3 From ff3c40c5b47b311b7f4d3f157c9d5bd63fe99b39 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 26 Sep 2011 10:40:04 +0200 Subject: Fixes a bug when the user leaves a MucTab, goes to a privatetab and /join with no args (it joined the muc, but did not open a new tab) --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core.py') diff --git a/src/core.py b/src/core.py index 3c4af5d9..766be909 100644 --- a/src/core.py +++ b/src/core.py @@ -1275,7 +1275,7 @@ class Core(object): t = self.current_tab() if not isinstance(t, tabs.MucTab) and not isinstance(t, tabs.PrivateTab): return - room = t.get_name() + room = JID(t.get_name()).bare nick = t.get_room().own_nick else: info = JID(args[0]) -- cgit v1.2.3