mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-06-17 20:00:55 +02:00
Merge pull request #5 from believethehype/privatezaps
setting default zaps to private
This commit is contained in:
commit
e509a2c873
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user