Forcing notify relay to be either the NIP-65 or DM relays

This commit is contained in:
Vitor Pamplona
2026-01-07 15:33:16 -05:00
parent 139e9fd3ef
commit 6b8036eac4
@@ -47,7 +47,10 @@ fun DisplayNotifyMessages(
val flow =
remember(accountViewModel) {
requests.transientPaymentRequests.map {
it.filter { it.relayUrl in accountViewModel.account.trustedRelays.flow.value }
it.filter { notifyMsg ->
notifyMsg.relayUrl in accountViewModel.account.dmRelayList.flow.value ||
notifyMsg.relayUrl in accountViewModel.account.nip65RelayList.allFlowNoDefaults.value
}
}
}