diff --git a/app/src/main/java/com/keylesspalace/tusky/db/AccountManager.kt b/app/src/main/java/com/keylesspalace/tusky/db/AccountManager.kt index 7e6c5c73..e3c1c667 100644 --- a/app/src/main/java/com/keylesspalace/tusky/db/AccountManager.kt +++ b/app/src/main/java/com/keylesspalace/tusky/db/AccountManager.kt @@ -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) }