diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts index 2f41eaef2..1d42c7e4d 100644 --- a/packages/frontend/src/os.ts +++ b/packages/frontend/src/os.ts @@ -423,6 +423,7 @@ export async function selectUser(opts: { includeSelf?: boolean, local?: boolean return new Promise((resolve, reject) => { popup(defineAsyncComponent(() => import('@/components/MkUserSelectDialog.vue')), { includeSelf: opts.includeSelf, + local: opts.local, }, { ok: user => { resolve(user); diff --git a/packages/frontend/src/pages/reversi/index.vue b/packages/frontend/src/pages/reversi/index.vue index d1b784f63..c9a6012e7 100644 --- a/packages/frontend/src/pages/reversi/index.vue +++ b/packages/frontend/src/pages/reversi/index.vue @@ -193,7 +193,7 @@ async function matchHeatbeat() { } async function matchUser() { - const user = await os.selectUser({ local: true }); + const user = await os.selectUser({ local: true, includeSelf: false }); if (user == null) return; matchingUser.value = user;