mirror of
https://github.com/tuskyapp/Tusky
synced 2025-01-21 22:37:12 +01:00
normalize domains before saving them to database
This commit is contained in:
parent
ee812e3130
commit
e67261f80d
@ -57,7 +57,7 @@ class AccountManager(db: AppDatabase) {
|
||||
accountDao.insertOrReplace(it)
|
||||
}
|
||||
|
||||
activeAccount = AccountEntity(id = 0, domain = domain, accessToken = accessToken, isActive = true)
|
||||
activeAccount = AccountEntity(id = 0, domain = domain.toLowerCase(), accessToken = accessToken, isActive = true)
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user