summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 166c9e25..d2573213 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -2632,7 +2632,7 @@ class RosterInfoTab(Tab):
return
else:
jid = safeJID(arg).bare
- nodepart = jid.user
+ nodepart = safeJID(jid).user
# crappy transports putting resources inside the node part
if '\\2f' in nodepart:
jid.user = nodepart.split('\\2f')[0]