1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fix public domain and API domain differ

This commit is contained in:
xmflsct
2022-12-29 23:00:17 +01:00
parent 53ea661d9a
commit c6aff79055
13 changed files with 49 additions and 29 deletions

View File

@@ -74,7 +74,7 @@ const TabSharedReport: React.FC<TabSharedStackScreenProps<'Tab-Shared-Report'>>
}, [isReporting, comment, forward, categories, rules])
const localInstance = account?.acct.includes('@')
? account?.acct.includes(`@${getAccountStorage.string('auth.domain')}`)
? account?.acct.includes(`@${getAccountStorage.string('auth.account.domain')}`)
: true
const rulesQuery = useRulesQuery()