summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-02-26 03:16:42 +0100
committerFlorent Le Coz <louiz@louiz.org>2015-02-26 03:16:42 +0100
commit1a8b4eaebefbdf0ecd25b628125b4e772693a8ca (patch)
tree1a51d79d09037b1df47d913b3a59ecbf85e667f2 /src
parent4fd222a493f7bc31bd442151266c680807be06f6 (diff)
downloadpoezio-1a8b4eaebefbdf0ecd25b628125b4e772693a8ca.tar.gz
poezio-1a8b4eaebefbdf0ecd25b628125b4e772693a8ca.tar.bz2
poezio-1a8b4eaebefbdf0ecd25b628125b4e772693a8ca.tar.xz
poezio-1a8b4eaebefbdf0ecd25b628125b4e772693a8ca.zip
The /list command should list rooms on the given fulljid, not just the bare jid
Diffstat (limited to 'src')
-rw-r--r--src/core/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/commands.py b/src/core/commands.py
index 916f078a..962a13e8 100644
--- a/src/core/commands.py
+++ b/src/core/commands.py
@@ -267,7 +267,7 @@ def command_list(self, args):
if args is None:
return self.command_help('list')
elif args:
- server = safeJID(args[0]).server
+ server = safeJID(args[0])
else:
if not isinstance(self.current_tab(), tabs.MucTab):
return self.information('Please provide a server', 'Error')