From d403ae43d09e946769ee99d7827f2d99f1a89c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 10 Jul 2025 23:07:33 +0200 Subject: [PATCH] fix get accounts --- src/MatrixEventHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MatrixEventHandler.ts b/src/MatrixEventHandler.ts index 2369f907..8ca901a4 100644 --- a/src/MatrixEventHandler.ts +++ b/src/MatrixEventHandler.ts @@ -314,7 +314,7 @@ export class MatrixEventHandler { formatted_body: marked.parse(body), }); } else if (args[0] === "accounts" && args.length === 1) { - const users = await this.store.getRemoteUsersFromMxId(event.sender) || []; + const users = await this.store.getAllAccountsForMatrixUser(event.sender) || []; let body = "Linked accounts:\n"; body += users.map((remoteUser: BifrostRemoteUser) => { let account: IBifrostAccount|null = null;