Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwurstsalat <mailtrash@posteo.de>2023-06-15 11:38:37 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-06-28 22:13:22 +0300
commitb54b99bf08d0afd5897f5de80d7de1d1cc760f1c (patch)
tree55e72b5d4ab4c829c70053cca6585177dae1f1c2
parent1ef269b748a322dce0548f874f8077e8cf9d225e (diff)
cq: Annotations: Fix jid type for get_note()
-rw-r--r--gajim/common/modules/annotations.py2
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: