mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-10 04:02:36 +02:00
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:
@@ -29,7 +29,7 @@ object ServiceManager {
|
|||||||
val myAccount = account
|
val myAccount = account
|
||||||
|
|
||||||
if (myAccount != null) {
|
if (myAccount != null) {
|
||||||
Client.connect(myAccount.convertLocalRelays())
|
Client.connect(myAccount.activeRelays() ?: myAccount.convertLocalRelays())
|
||||||
|
|
||||||
// start services
|
// start services
|
||||||
NostrAccountDataSource.account = myAccount
|
NostrAccountDataSource.account = myAccount
|
||||||
|
Reference in New Issue
Block a user