mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2024-09-29 08:20:51 +00:00
Show missing relays for DMs when the DMRelayList event is empty.
This commit is contained in:
parent
90c9deecd4
commit
56664afa4e
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user