BugFix: User's relays not coming back after a pause of the app if they have not setup relays through the app yet.

This commit is contained in:
Vitor Pamplona
2023-02-16 19:03:11 -05:00
parent 3f68b42acd
commit c8c48cca32

View File

@@ -29,7 +29,7 @@ object ServiceManager {
val myAccount = account
if (myAccount != null) {
Client.connect(myAccount.convertLocalRelays())
Client.connect(myAccount.activeRelays() ?: myAccount.convertLocalRelays())
// start services
NostrAccountDataSource.account = myAccount