diff --git a/gajim/common/const.py b/gajim/common/const.py index 5f774851b05cd9e8bf4076b988baadfe27696348..2ce553f11fe94fbec04e16ad26023a8bd62c6ef1 100644 --- a/gajim/common/const.py +++ b/gajim/common/const.py @@ -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