Mercurial > libervia-backend
diff frontends/src/quick_frontend/quick_utils.py @ 688:f7878ad3c846
tools: renamed tools.jid.JID attribute "short" to "bare"
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 29 Oct 2013 16:26:55 +0100 |
parents | 84a6e83157c2 |
children | 6246eb6d64a0 |
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_utils.py Mon Oct 28 19:04:49 2013 +0100 +++ b/frontends/src/quick_frontend/quick_utils.py Tue Oct 29 16:26:55 2013 +0100 @@ -22,7 +22,7 @@ def escapePrivate(ori_jid): """Escape a private jid""" - return JID(const_PRIVATE_PREFIX + ori_jid.short + '@' + ori_jid.resource) + return JID(const_PRIVATE_PREFIX + ori_jid.bare + '@' + ori_jid.resource) def unescapePrivate(escaped_jid): if not escaped_jid.startswith(const_PRIVATE_PREFIX):