Skip to content
Snippets Groups Projects
Commit 9686b7b3 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Fix PresenceShow comparison

parent 53c4cdd4
No related branches found
No related tags found
No related merge requests found
......@@ -1132,6 +1132,8 @@ def is_offline(self):
return self == PresenceShowExt.OFFLINE
def __lt__(self, other):
if isinstance(other, PresenceShowExt):
return False
if not isinstance(other, PresenceShow):
return NotImplemented
return True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment