Removing the start of relays before logging in.
This commit is contained in:
@@ -15,7 +15,6 @@ import com.vitorpamplona.amethyst.service.NostrThreadDataSource
|
|||||||
import com.vitorpamplona.amethyst.service.NostrUserProfileDataSource
|
import com.vitorpamplona.amethyst.service.NostrUserProfileDataSource
|
||||||
import com.vitorpamplona.amethyst.service.NostrVideoDataSource
|
import com.vitorpamplona.amethyst.service.NostrVideoDataSource
|
||||||
import com.vitorpamplona.amethyst.service.relays.Client
|
import com.vitorpamplona.amethyst.service.relays.Client
|
||||||
import com.vitorpamplona.amethyst.service.relays.Constants
|
|
||||||
|
|
||||||
object ServiceManager {
|
object ServiceManager {
|
||||||
private var account: Account? = null
|
private var account: Account? = null
|
||||||
@@ -46,9 +45,6 @@ object ServiceManager {
|
|||||||
NostrSingleEventDataSource.start()
|
NostrSingleEventDataSource.start()
|
||||||
NostrSingleChannelDataSource.start()
|
NostrSingleChannelDataSource.start()
|
||||||
NostrSingleUserDataSource.start()
|
NostrSingleUserDataSource.start()
|
||||||
} else {
|
|
||||||
// if not logged in yet, start a basic service wit default relays
|
|
||||||
Client.connect(Constants.convertDefaultRelays())
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user