mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-17 21:31:52 +01:00
Update FilterGeneration.vue
This commit is contained in:
parent
53adb29da8
commit
a8db5cb818
@ -149,7 +149,7 @@ async function listen() {
|
||||
let client = store.state.client
|
||||
let pubkey = store.state.pubkey
|
||||
|
||||
const filter = new Filter().kinds([Kind(7000), Kind(6301)]).pubkey(pubkey).since(Timestamp.now());
|
||||
const filter = new Filter().kinds([7000, 6301]).pubkey(pubkey).since(Timestamp.now());
|
||||
await client.subscribe([filter]);
|
||||
|
||||
const handle = {
|
||||
@ -464,7 +464,7 @@ async function addAllContentDVMs() {
|
||||
|
||||
console.log(active_dvms)
|
||||
|
||||
const filtera = new Filter().authors(relevant_dvms).kinds([Kind(6301), Kind(7000)])
|
||||
const filtera = new Filter().authors(relevant_dvms).kinds([6301, 7000])
|
||||
let client = store.state.client
|
||||
let activities = await client.getEventsOf([filtera], Duration.fromSecs(1))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user