mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-18 16:35:30 +02:00
fix(frontend): 読み込み直後にプラグインによるノートの書き換えが行われない問題を修正
ブート時にプラグインがロードされるまで待機 Fix #16428
This commit is contained in:
@@ -26,7 +26,6 @@ import { mainRouter } from '@/router.js';
|
||||
import { makeHotkey } from '@/utility/hotkey.js';
|
||||
import { addCustomEmoji, removeCustomEmojis, updateCustomEmojis } from '@/custom-emojis.js';
|
||||
import { prefer } from '@/preferences.js';
|
||||
import { launchPlugins } from '@/plugin.js';
|
||||
import { updateCurrentAccountPartial } from '@/accounts.js';
|
||||
import { migrateOldSettings } from '@/pref-migrate.js';
|
||||
import { unisonReload } from '@/utility/unison-reload.js';
|
||||
@@ -79,8 +78,6 @@ export async function mainBoot() {
|
||||
}
|
||||
}
|
||||
|
||||
launchPlugins();
|
||||
|
||||
try {
|
||||
if (prefer.s.enableSeasonalScreenEffect) {
|
||||
const month = new Date().getMonth() + 1;
|
||||
@@ -421,7 +418,7 @@ export async function mainBoot() {
|
||||
}
|
||||
},
|
||||
allowRepeat: true,
|
||||
}
|
||||
},
|
||||
} as const satisfies Keymap;
|
||||
window.document.addEventListener('keydown', makeHotkey(keymap), { passive: false });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user