summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/client/init.ts5
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3c79ba0f80..9a0e754041 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@
- リスト、アンテナタイムラインを個別ページとして分割
- UIの改善
- MFMにsparklesエフェクトを追加
+- 非ログイン自は更新ダイアログを出さないように
### Bugfixes
- アカウントデータのエクスポート/インポート処理ができない問題を修正
diff --git a/src/client/init.ts b/src/client/init.ts
index aa9cd817c4..c15374e49b 100644
--- a/src/client/init.ts
+++ b/src/client/init.ts
@@ -217,7 +217,10 @@ if (lastVersion !== version) {
try { // 変なバージョン文字列来るとcompareVersionsでエラーになるため
if (lastVersion != null && compareVersions(version, lastVersion) === 1) {
- popup(import('@client/components/updated.vue'), {}, {}, 'closed');
+ // ログインしてる場合だけ
+ if ($i) {
+ popup(import('@client/components/updated.vue'), {}, {}, 'closed');
+ }
}
} catch (e) {
}