feat: initialize default configuration for new users

This commit is contained in:
codytseng
2025-08-14 22:25:35 +08:00
parent 46bf0ecc0a
commit 352eecc416
3 changed files with 28 additions and 7 deletions

View File

@@ -634,7 +634,7 @@ function buildReplaceableQTag(coordinate: string) {
}
function buildRTag(url: string, scope: TMailboxRelayScope) {
return scope === 'both' ? ['r', url, scope] : ['r', url]
return scope !== 'both' ? ['r', url, scope] : ['r', url]
}
function buildTTag(hashtag: string) {