diff options
author | wurstsalat <mailtrash@posteo.de> | 2023-06-15 11:38:37 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-06-28 22:13:22 +0300 |
commit | b54b99bf08d0afd5897f5de80d7de1d1cc760f1c (patch) | |
tree | 55e72b5d4ab4c829c70053cca6585177dae1f1c2 | |
parent | 1ef269b748a322dce0548f874f8077e8cf9d225e (diff) |
cq: Annotations: Fix jid type for get_note()
-rw-r--r-- | gajim/common/modules/annotations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gajim/common/modules/annotations.py b/gajim/common/modules/annotations.py index 76b460c94..69fda00e0 100644 --- a/gajim/common/modules/annotations.py +++ b/gajim/common/modules/annotations.py @@ -53,7 +53,7 @@ class Annotations(BaseModule): for note in annotations: self._annotations[note.jid] = note - def get_note(self, jid: str) -> AnnotationNote | None: + def get_note(self, jid: JID | str) -> AnnotationNote | None: return self._annotations.get(jid) def set_note(self, note: AnnotationNote) -> None: |