diff options
author | Florent Le Coz <louiz@louiz.org> | 2013-01-29 17:34:26 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2013-01-29 17:34:26 +0100 |
commit | edd82fef9be80ae58061b3a58c147312542e7295 (patch) | |
tree | 8a0fd753b8754b7aefa4d15f56ebe7f94d333f39 | |
parent | 73ebce5c91fcbf3f334a0c29316e0c47cccf5531 (diff) | |
download | poezio-edd82fef9be80ae58061b3a58c147312542e7295.tar.gz poezio-edd82fef9be80ae58061b3a58c147312542e7295.tar.bz2 poezio-edd82fef9be80ae58061b3a58c147312542e7295.tar.xz poezio-edd82fef9be80ae58061b3a58c147312542e7295.zip |
Fix a tb on /accept. Make sure jid is a JID object, not an str.
-rw-r--r-- | src/tabs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py index 2dd677ec..85f0ef33 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -2640,6 +2640,7 @@ class RosterInfoTab(Tab): else: jid = safeJID(arg).bare nodepart = safeJID(jid).user + jid = safeJID(jid) # crappy transports putting resources inside the node part if '\\2f' in nodepart: jid.user = nodepart.split('\\2f')[0] |