diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-05-07 11:58:19 +0100 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2019-05-07 11:58:19 +0100 |
commit | 5b35bde9069bfc0b5cbc34c9430902396794d804 (patch) | |
tree | 07785477cf86776911f0208024a9c732f9444f77 /test/test_windows.py | |
parent | 463ad192be47c9d110a6be3baffdbb181c325db4 (diff) | |
download | poezio-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 'test/test_windows.py')
0 files changed, 0 insertions, 0 deletions