add nip90 events to factory

This commit is contained in:
Believethehype
2024-05-14 18:51:38 +02:00
parent 11a5f4a67e
commit 0245c907ff
3 changed files with 5 additions and 6 deletions
@@ -57,8 +57,6 @@ open class NIP90ContentDiscoveryFilter(
override fun applyFilter(collection: Set<Note>): Set<Note> {
var result = innerApplyFilter(collection)
println("Test World")
println(result)
return result
}
@@ -76,12 +76,10 @@ private fun RenderNostrNIP90ContentDiscoveryScreen(
if (DVMID != null) {
// TODO 1 Send KIND 5300 Event with p tag = DVMID (crashes, because cant map to event)
/*val signer: NostrSigner = NostrSignerInternal(accountViewModel.account.keyPair)
println(accountViewModel.account.keyPair.pubKey.toHexKey())
NIP90ContentDiscoveryRequestEvent.create(DVMID, signer) {
/*NIP90ContentDiscoveryRequestEvent.create(DVMID, accountViewModel.account.signer) {
Client.send(it)
LocalCache.justConsume(it, null)
} */
}*/
// var keyPair = accountViewModel.account.keyPair