refactor(ai): extract handleAddProfile from js/app.js (agent)

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-01-31 04:05:20 +00:00
1 parent f5e16f296e
commit 2c5fc53f3f
1 file changed
+3 -1
+3 -1
View File
@@ -248,8 +248,10 @@ test(
tags: [["encrypted", "nip04"]],
};
let fetchCalls = 0;
nostrClient.fetchListIncrementally = async () => {
return [event];
fetchCalls += 1;
return fetchCalls === 1 ? [event] : [];
};
nostrClient.relays = relayUrls;
nostrClient.writeRelays = relayUrls;