19 Commits

Author SHA1 Message Date
668e62af91 Update nostr.py
Fix: Update add_relays() to add_relay() in nostr.py
Description
This PR fixes an issue , the method add_relays() was renamed to add_relay() and now accepts a single string instead of a list.

Error Message

AttributeError: 'Client' object has no attribute 'add_relays'. Did you mean: 'add_relay'?
After changing the code to use add_relay(), another error occurred:


The error occurred because the updated add_relay() method expects a string but was passed a list. This was due to the previous usage of add_relays() which accepted a list of URLs.


await client.add_relays(["ws://localhost:7777"])
To:
await client.add_relay("ws://localhost:7777")
2025-02-23 12:08:54 +01:00
fd5c21605a Change network nostr tag 2024-11-12 17:21:38 +01:00
50efa54a81 Add extra tags to nostr 2024-09-16 12:11:56 +02:00
8f5bbd796b Fix fa nostr note tag 2024-09-06 10:23:27 +02:00
7ef8a1b33a strfry bug free version 2024-08-09 10:57:19 +02:00
d79f27b5be Remove created at 2024-08-08 00:45:42 +02:00
3433f4544d Fix url tag 2024-08-08 00:28:38 +02:00
cad1a86514 Fix integer tag 2024-08-08 00:19:51 +02:00
1c7b2a892a Fix integer tag 2024-08-07 23:34:19 +02:00
032a48a4b2 Review nostr tags 2024-08-07 22:49:16 +02:00
af3a03c891 Async to sync 2024-08-07 22:43:59 +02:00
c28ba4afc8 Some NIP fixes 2024-08-07 22:43:51 +02:00
c597cc8129 Better tags 2024-08-07 22:43:46 +02:00
a6c2130846 Testing 2024-08-07 22:43:46 +02:00
6635722a96 Addapt Docker 2024-08-07 22:43:45 +02:00
cbb063f06d NIP corrections 2024-08-07 22:43:44 +02:00
bdc10eb289 Switch to strfry 2024-08-07 22:43:43 +02:00
97bb2dc777 Prepare for other events 2024-08-07 22:43:43 +02:00
3e460bb255 Use nostr as cache system 2024-08-07 22:43:41 +02:00