1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-01 20:14:12 +02:00

fix type errors

This commit is contained in:
syuilo
2025-07-05 17:13:29 +09:00
parent cc4cdd1ec0
commit f128682200
9 changed files with 14 additions and 9 deletions

View File

@@ -197,7 +197,7 @@ async function initialize() {
connection.value.on('deleted', onDeleted);
connection.value.on('react', onReact);
connection.value.on('unreact', onUnreact);
} else {
} else if (props.roomId) {
const [rResult, mResult] = await Promise.allSettled([
misskeyApi('chat/rooms/show', { roomId: props.roomId }),
misskeyApi('chat/messages/room-timeline', { roomId: props.roomId, limit: LIMIT }),