mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-09-29 11:33:58 +02:00
check for existing 7001 again
This commit is contained in:
@@ -722,7 +722,7 @@ async function subscribe_to_dvm() {
|
||||
store.commit('set_recommendation_dvms', dvms)
|
||||
|
||||
|
||||
|
||||
if (current_subscription_dvm.value.nip88.subscriptionId === '' || !current_subscription_dvm.value.nip88.subscriptionId ) {
|
||||
|
||||
let res;
|
||||
let requestid;
|
||||
@@ -730,7 +730,6 @@ async function subscribe_to_dvm() {
|
||||
let content = "Subscription from noogle.lol"
|
||||
|
||||
|
||||
|
||||
let tags = [
|
||||
["p", current_subscription_dvm.value.id],
|
||||
["e", current_subscription_dvm.value.nip88.eventid],
|
||||
@@ -758,8 +757,7 @@ async function subscribe_to_dvm() {
|
||||
requestid = res.id;
|
||||
console.log(requestid)
|
||||
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
let tags_t = []
|
||||
for (let tag of tags) {
|
||||
tags_t.push(Tag.parse(tag))
|
||||
@@ -773,7 +771,7 @@ async function subscribe_to_dvm() {
|
||||
current_subscription_dvm.value.nip88.subscriptionId = requestid
|
||||
console.log(current_subscription_dvm.value.nip88.subscriptionId)
|
||||
|
||||
|
||||
}
|
||||
|
||||
try{
|
||||
let nwcdvm = PublicKey.parse(store.state.subscription_verifier_pubkey)
|
||||
|
Reference in New Issue
Block a user