summaryrefslogtreecommitdiff
path: root/plugins/test.py
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-05-07 11:58:19 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2019-05-07 11:58:19 +0100
commit5b35bde9069bfc0b5cbc34c9430902396794d804 (patch)
tree07785477cf86776911f0208024a9c732f9444f77 /plugins/test.py
parent463ad192be47c9d110a6be3baffdbb181c325db4 (diff)
downloadpoezio-5b35bde9069bfc0b5cbc34c9430902396794d804.tar.gz
poezio-5b35bde9069bfc0b5cbc34c9430902396794d804.tar.bz2
poezio-5b35bde9069bfc0b5cbc34c9430902396794d804.tar.xz
poezio-5b35bde9069bfc0b5cbc34c9430902396794d804.zip
config: ensure tabname is not a JID object
Tabnames should be treated as opaque strings. This specific fix prevents tabname (JID) to be compared with invalid stringly-typed JIDs. JID's __eq__ method used to (after poezio/slixmpp@47968963) try and convert anything into JIDs. This has been fixed and now properly returns NotImplemented. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'plugins/test.py')
0 files changed, 0 insertions, 0 deletions