Show missing relays for DMs when the DMRelayList event is empty.

This commit is contained in:
Vitor Pamplona 2024-05-29 15:22:19 -04:00
parent 90c9deecd4
commit 56664afa4e

View File

@ -104,7 +104,7 @@ fun ObserveRelayListForDMsAndDisplayIfNotFound(
ObserveRelayListForDMs( ObserveRelayListForDMs(
accountViewModel = accountViewModel, accountViewModel = accountViewModel,
) { relayListEvent -> ) { relayListEvent ->
if (relayListEvent == null) { if (relayListEvent == null || relayListEvent.relays().isEmpty()) {
AddInboxRelayForDMCard( AddInboxRelayForDMCard(
accountViewModel = accountViewModel, accountViewModel = accountViewModel,
nav = nav, nav = nav,