Fix nostr

This commit is contained in:
koalasat
2025-07-22 18:09:47 +02:00
parent bf48671e56
commit d9385ae0ea

View File

@ -59,9 +59,7 @@ class Nostr:
Tag.parse(["status", Order.Status(order.status).label]), Tag.parse(["status", Order.Status(order.status).label]),
] ]
await client.send_private_msg( await client.send_private_msg(PublicKey.parse(robot.nostr_pubkey), text, tags)
PublicKey.from_hex(robot.nostr_pubkey), text, tags
)
print("Nostr NOTIFICATION event sent") print("Nostr NOTIFICATION event sent")
async def initialize_client(self, keys): async def initialize_client(self, keys):