Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
-
421beedb
by lovetox at 2022-01-14T14:51:37+01:00
1 changed file:
Changes:
| ... | ... | @@ -671,7 +671,6 @@ class JID: |
| 671 | 671 |
|
| 672 | 672 |
def __eq__(self, other: Union[str, JID]) -> bool:
|
| 673 | 673 |
if isinstance(other, str):
|
| 674 |
- deprecation_warning('comparing string with JID is deprected')
|
|
| 675 | 674 |
try:
|
| 676 | 675 |
return JID.from_string(other) == self
|
| 677 | 676 |
except Exception:
|