mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-17 00:01:27 +02:00
Follow yourself for new users.
This commit is contained in:
parent
221ab1ca1a
commit
e8998a26d7
@ -138,6 +138,9 @@ class AccountStateViewModel() : ViewModel() {
|
||||
viewModelScope.launch(Dispatchers.IO) {
|
||||
val proxy = HttpClient.initProxy(useProxy, "127.0.0.1", proxyPort)
|
||||
val account = Account(KeyPair(), proxy = proxy, proxyPort = proxyPort)
|
||||
|
||||
account.follow(account.userProfile())
|
||||
|
||||
// saves to local preferences
|
||||
LocalPreferences.updatePrefsForLogin(account)
|
||||
startUI(account)
|
||||
|
Loading…
x
Reference in New Issue
Block a user