From ebe072dbd47df1846a58bffdd5bdc3b207f095ff Mon Sep 17 00:00:00 2001 From: Goffi Date: Sat, 4 Jul 2026 10:42:26 +0200 Subject: [PATCH] memory (disco): fix incorrect use of `await` --- libervia/backend/memory/disco.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libervia/backend/memory/disco.py b/libervia/backend/memory/disco.py index 11d32c11..f7a918a1 100755 --- a/libervia/backend/memory/disco.py +++ b/libervia/backend/memory/disco.py @@ -371,9 +371,9 @@ class Discovery: if jid_ == client.server_jid and not node: # we cache items only for our own server and if node is not set try: - items = await self.host.memory.entity_data_get( - client, jid_, ["DISCO_ITEMS"] - )["DISCO_ITEMS"] + items = G.host.memory.entity_data_get(client, jid_, ["DISCO_ITEMS"])[ + "DISCO_ITEMS" + ] log.debug("[%s] disco items are in cache" % jid_.full()) if not use_cache: # we ignore cache, so we pretend we haven't found it