xep_0384: Change listJIDs' return value to set
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
77dccdb332
commit
011aeaa7a2
1 changed files with 2 additions and 2 deletions
|
@ -149,8 +149,8 @@ class SyncFileStorage(omemo.Storage):
|
||||||
|
|
||||||
return self.__trust.get(bare_jid, {}).get(device_id)
|
return self.__trust.get(bare_jid, {}).get(device_id)
|
||||||
|
|
||||||
def listJIDs(self, _callback) -> List[str]:
|
def listJIDs(self, _callback) -> Set[str]:
|
||||||
return (self.__devices.keys())
|
return set(self.__devices.keys())
|
||||||
|
|
||||||
def deleteJID(self, _callback, bare_jid: str) -> None:
|
def deleteJID(self, _callback, bare_jid: str) -> None:
|
||||||
self.__session[bare_jid] = {}
|
self.__session[bare_jid] = {}
|
||||||
|
|
Loading…
Reference in a new issue