Forcing notify relay to be either the NIP-65 or DM relays
This commit is contained in:
+4
-1
@@ -47,7 +47,10 @@ fun DisplayNotifyMessages(
|
|||||||
val flow =
|
val flow =
|
||||||
remember(accountViewModel) {
|
remember(accountViewModel) {
|
||||||
requests.transientPaymentRequests.map {
|
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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user