diff options
Diffstat (limited to 'poezio/roster.py')
-rw-r--r-- | poezio/roster.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/poezio/roster.py b/poezio/roster.py index 4534dd30..a52ea23e 100644 --- a/poezio/roster.py +++ b/poezio/roster.py @@ -3,7 +3,7 @@ # This file is part of Poezio. # # Poezio is free software: you can redistribute it and/or modify -# it under the terms of the zlib license. See the COPYING file. +# it under the terms of the GPL-3.0+ license. See the COPYING file. """ Defines the Roster and RosterGroup classes """ @@ -71,7 +71,7 @@ class Roster: self.last_modified = datetime.now() @property - def needs_rebuild(self): + def needs_rebuild(self) -> bool: return self.last_modified >= self.last_built def __getitem__(self, key): @@ -133,7 +133,7 @@ class Roster: return False @property - def jid(self): + def jid(self) -> JID: """Our JID""" return self.__node.jid |