mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-10 07:52:40 +02:00
Merge pull request #5 from believethehype/privatezaps
setting default zaps to private
This commit is contained in:
2
bot.py
2
bot.py
@@ -238,7 +238,7 @@ class Bot:
|
||||
user = get_or_add_user(db=self.dvm_config.DB, npub=nostr_event.pubkey().to_hex(),
|
||||
client=self.client, config=self.dvm_config)
|
||||
print("PAYING: " + user.name)
|
||||
bolt11 = zap(user.lud16, amount, "Zap", nostr_event, self.keys, self.dvm_config, "public")
|
||||
bolt11 = zap(user.lud16, amount, "Zap", nostr_event, self.keys, self.dvm_config, "private")
|
||||
if bolt11 == None:
|
||||
print("Receiver has no Lightning address")
|
||||
return
|
||||
|
Reference in New Issue
Block a user