mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-22 00:43:50 +01:00
fix(identiconGen): Misskeyの実装と同じ条件で生成されるように修正
This commit is contained in:
parent
ee1e3cf773
commit
3bbabfd92c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user