mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-19 09:47:12 +01:00
deprecate "image" in nip89, use picture instead
This commit is contained in:
4
main.py
4
main.py
@@ -24,7 +24,7 @@ def playground(announce=False):
|
||||
# Add NIP89
|
||||
nip89info = {
|
||||
"name": name,
|
||||
"image": "https://image.nostr.build/28da676a19841dcfa7dcf7124be6816842d14b84f6046462d2a3f1268fe58d03.png",
|
||||
"picture": "https://image.nostr.build/28da676a19841dcfa7dcf7124be6816842d14b84f6046462d2a3f1268fe58d03.png",
|
||||
"about": "I'm just a demo DVM, not doing much.'",
|
||||
"encryptionSupported": True,
|
||||
"cashuAccepted": True,
|
||||
@@ -33,7 +33,7 @@ def playground(announce=False):
|
||||
}
|
||||
|
||||
nip89config = NIP89Config()
|
||||
nip89config.DTAG = check_and_set_d_tag(identifier, name, dvm_config.PRIVATE_KEY, nip89info["image"])
|
||||
nip89config.DTAG = check_and_set_d_tag(identifier, name, dvm_config.PRIVATE_KEY, nip89info["picture"])
|
||||
nip89config.CONTENT = json.dumps(nip89info)
|
||||
|
||||
options = {
|
||||
|
||||
Reference in New Issue
Block a user