mirror of
https://github.com/aljazceru/nostrdvm.git
synced 2025-12-24 09:24:21 +01:00
fixes
This commit is contained in:
@@ -50,7 +50,7 @@ def parse_zap_event_tags(zap_event, keys, name, client, config):
|
||||
keys.secret_key(),
|
||||
zap_request_event.author())
|
||||
decrypted_private_event = Event.from_json(decrypted_content)
|
||||
if decrypted_private_event.kind() == 9733:
|
||||
if decrypted_private_event.kind().as_u64() == 9733:
|
||||
sender = decrypted_private_event.author().to_hex()
|
||||
message = decrypted_private_event.content()
|
||||
# if message != "":
|
||||
|
||||
Reference in New Issue
Block a user