{
+ // TODO: localOnly は連合に対応したら消す
+ os.selectUser({ localOnly: true }).then(user => {
router.push(`/chat/user/${user.id}`);
});
}
diff --git a/packages/frontend/src/pages/chat/room.info.vue b/packages/frontend/src/pages/chat/room.info.vue
index 7e10336fd3..8439e5f772 100644
--- a/packages/frontend/src/pages/chat/room.info.vue
+++ b/packages/frontend/src/pages/chat/room.info.vue
@@ -63,11 +63,11 @@ function save() {
async function del() {
const { canceled } = await os.confirm({
type: 'warning',
- text: i18n.ts.areYouSure,
+ text: i18n.tsx.deleteAreYouSure({ x: name_.value }),
});
if (canceled) return;
- misskeyApi('chat/rooms/delete', {
+ await os.apiWithDialog('chat/rooms/delete', {
roomId: props.room.id,
});
router.push('/chat');
@@ -81,10 +81,6 @@ watch(isMuted, async () => {
mute: isMuted.value,
});
});
-
-onMounted(async () => {
-
-});