diff --git a/nostr_dvm/tasks/content_discovery_currently_popular.py b/nostr_dvm/tasks/content_discovery_currently_popular.py index 056cdc1..6e81f26 100644 --- a/nostr_dvm/tasks/content_discovery_currently_popular.py +++ b/nostr_dvm/tasks/content_discovery_currently_popular.py @@ -218,7 +218,7 @@ def build_example_subscription(name, identifier, admin_config): nip89info = { "name": name, "image": "https://image.nostr.build/b29b6ec4bf9b6184f69d33cb44862db0d90a2dd9a506532e7ba5698af7d36210.jpg", - "about": "I show notes that are currently popular, just like the free DVM, I'm also used for testing subscriptions. (beta)", + "about": "I show notes that are currently popular all over Nostr. I'm also used for testing subscriptions.", "lud16": dvm_config.LN_ADDRESS, "encryptionSupported": True, "cashuAccepted": True, @@ -250,7 +250,7 @@ def build_example_subscription(name, identifier, admin_config): nip88config.PAYMENT_VERIFIER_PUBKEY = "5b5c045ecdf66fb540bdf2049fe0ef7f1a566fa427a4fe50d400a011b65a3a7e" admin_config.UPDATE_PROFILE = False - admin_config.REBROADCAST_NIP89 = False + admin_config.REBROADCAST_NIP89 = True admin_config.REBROADCAST_NIP88 = False # admin_config.FETCH_NIP88 = True diff --git a/nostr_dvm/tasks/content_discovery_currently_popular_followers.py b/nostr_dvm/tasks/content_discovery_currently_popular_followers.py index 36bb992..e8dc079 100644 --- a/nostr_dvm/tasks/content_discovery_currently_popular_followers.py +++ b/nostr_dvm/tasks/content_discovery_currently_popular_followers.py @@ -216,8 +216,8 @@ def build_example(name, identifier, admin_config): # Add NIP89 nip89info = { "name": name, - "image": "https://image.nostr.build/b29b6ec4bf9b6184f69d33cb44862db0d90a2dd9a506532e7ba5698af7d36210.jpg", - "about": "I show notes that are currently popular among people you follow", + "image": "https://image.nostr.build/d92652a6a07677e051d647dcf9f0f59e265299b3335a939d008183a911513f4a.jpg", + "about": "I show notes that are currently popular from people you follow", "lud16": dvm_config.LN_ADDRESS, "encryptionSupported": True, "cashuAccepted": True, diff --git a/ui/noogle/src/components/ImageGeneration.vue b/ui/noogle/src/components/ImageGeneration.vue index cb56997..03cad42 100644 --- a/ui/noogle/src/components/ImageGeneration.vue +++ b/ui/noogle/src/components/ImageGeneration.vue @@ -38,6 +38,15 @@ let dvms =[] let hasmultipleinputs = false async function generate_image(message) { + if (!store.state.imagehasEventListener){ + store.commit('set_imagehasEventListener', true) + listen() + + } + else{ + console.log("Already has event listener") + } + try { if (message === undefined){ message = "A purple Ostrich" @@ -95,14 +104,7 @@ async function generate_image(message) { } store.commit('set_current_request_id_image', requestid) - if (!store.state.imagehasEventListener){ - store.commit('set_imagehasEventListener', true) - listen() - } - else{ - console.log("Already has event listener") - } } catch (error) { console.log(error); diff --git a/ui/noogle/src/components/RecommendationGeneration.vue b/ui/noogle/src/components/RecommendationGeneration.vue index b8c4cc9..f357a32 100644 --- a/ui/noogle/src/components/RecommendationGeneration.vue +++ b/ui/noogle/src/components/RecommendationGeneration.vue @@ -75,6 +75,16 @@ async function generate_feed(id) { try { + + if (!store.state.recommendationehasEventListener){ + store.commit('set_recommendationEventListener', true) + listen() + + } + else{ + console.log("Already has event listener") + } + let client = store.state.client //console.log(dvms.find(i => i.id === id).encryptionSupported) @@ -185,14 +195,7 @@ async function generate_feed(id) { store.commit('set_current_request_id_recommendation', requestid) - if (!store.state.recommendationehasEventListener){ - store.commit('set_recommendationEventListener', true) - listen() - } - else{ - console.log("Already has event listener") - } } catch (error) { console.log(error); @@ -966,7 +969,7 @@ const submitHandler = async () => { :key="dvm.id">