| @@ -7,7 +7,7 @@ import { computed, createApp, watch, markRaw, version as vueVersion, defineAsync | ||||
| import { common } from './common'; | ||||
| import { version, ui, lang, updateLocale } from '@/config'; | ||||
| import { i18n, updateI18n } from '@/i18n'; | ||||
| import { confirm, alert, post, popup, toast, api } from '@/os'; | ||||
| import { confirm, alert, post, popup, toast } from '@/os'; | ||||
| import { useStream } from '@/stream'; | ||||
| import * as sound from '@/scripts/sound'; | ||||
| import { $i, refreshAccount, login, updateAccount, signout } from '@/account'; | ||||
| @@ -251,11 +251,6 @@ export async function mainBoot() { | ||||
| 		main.on('myTokenRegenerated', () => { | ||||
| 			signout(); | ||||
| 		}); | ||||
|  | ||||
| 		const unreadUserAnnouncementsList = await api('announcements', { privateOnly: true, withUnreads: true }); | ||||
| 		if (unreadUserAnnouncementsList.length > 0) { | ||||
| 			unreadUserAnnouncementsList.forEach((v) => popup(defineAsyncComponent(() => import('@/components/MkUserAnnouncementModal.vue')), { title: v.title, text: v.text, closeDuration: v.closeDuration, announcementId: v.id }, {}, 'closed')); | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	// shortcut | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 まっちゃとーにゅ
					まっちゃとーにゅ