From fd13bc6ea2c738d17d44fad64cb49b528e4c8524 Mon Sep 17 00:00:00 2001 From: Inference Bot Date: Mon, 19 Oct 2026 10:47:49 -0600 Subject: [PATCH] =?UTF-8?q?broker/matrix-mxid=20GET:=20local=5Fmxid=5Ffor?= =?UTF-8?q?=5Femail=20was=20async-def=20but=20never=20awaited=20=E2=80=94?= =?UTF-8?q?=20response=20contained=20a=20coroutine=20and=20FastAPI=20500'd?= =?UTF-8?q?=20('coroutine=20object=20is=20not=20iterable'),=20so=20the=20d?= =?UTF-8?q?ashboard=20silently=20showed=20no=20registered=20Matrix=20ID.?= =?UTF-8?q?=20Make=20it=20a=20plain=20sync=20def=20(blocking=20urllib).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 7391625..0184262 100644 --- a/app/main.py +++ b/app/main.py @@ -2708,7 +2708,7 @@ async def broker_get_matrix_mxid(request: Request): return {"matrix_mxid": get_member_matrix_mxid(email), "local_mxid": local_mxid_for_email(email)} -async def local_mxid_for_email(email: str) -> str: +def local_mxid_for_email(email: str) -> str: """Resolve a member's local Matrix ID (@username:inference.coop), or '' if unknown.""" import urllib.request try: