tools (jid): force JIDs to lower case
This commit is contained in:
parent
162b310cd7
commit
5f1c2d3a49
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ class JID(unicode):
|
|||
"""This class help manage JID (Node@Domaine/Resource)"""
|
||||
|
||||
def __new__(cls, jid):
|
||||
self = unicode.__new__(cls, jid)
|
||||
self = unicode.__new__(cls, jid.lower())
|
||||
self.__parse()
|
||||
return self
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue