Commit 30f2b975 authored by Philipp Hörist's avatar Philipp Hörist

Annotations: Handle errors correctly

parent f4d748d4
......@@ -49,6 +49,7 @@ def _annotations_received(self, task: Any) -> None:
except (StanzaError, MalformedStanzaError) as error:
self._annotations = {}
for note in annotations:
self._annotations[note.jid] = note
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment