Add some more docstrings

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-02-16 16:46:06 +01:00
parent 014fab7b27
commit d2bbb2c2bc
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -83,9 +83,11 @@ class Plugin(E2EEPlugin):
) )
def display_error(self, txt) -> None: def display_error(self, txt) -> None:
"""Poezio logger Helper"""
self.api.information(txt, 'Error') self.api.information(txt, 'Error')
def get_fingerprints(self, jid: JID) -> List[str]: def get_fingerprints(self, jid: JID) -> List[str]:
"""Return fingerprints for the provided JID"""
devices = self.core.xmpp['xep_0384'].get_trust_for_jid(jid) devices = self.core.xmpp['xep_0384'].get_trust_for_jid(jid)
# XXX: What to do with did -> None entries? # XXX: What to do with did -> None entries?