summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 954f3b25..1bdeb2ed 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -2493,6 +2493,10 @@ class RosterInfoTab(Tab):
return
else:
jid = safeJID(arg).bare
+ nodepart = jid.user
+ # crappy transports putting resources inside the node part
+ if '\\2f' in nodepart:
+ jid.user = nodepart.split('\\2f')[0]
contact = roster[jid]
if contact is None:
return