fix(identiconGen): Misskeyの実装と同じ条件で生成されるように修正

This commit is contained in:
kakkokari-gtyih 2024-03-25 20:40:14 +09:00
parent ee1e3cf773
commit 3bbabfd92c

View File

@ -37,7 +37,7 @@ const route = useRoute();
const onceGenerated = ref(false);
const acct = ref('@ai@misskey.example.com');
const normalizedAcct = computed(() => {
const normalized = acct.value.replace(/^@/, '');
const normalized = acct.value.replace(/^@/, '').toLowerCase();
if (normalized.includes('@')) {
return normalized;
} else {