mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-21 12:49:02 +00:00
Make stealth invoices the default
This commit is contained in:
parent
f2cd20c8f0
commit
34a8fd99ed
@ -654,7 +654,7 @@ class Profile(models.Model):
|
|||||||
blank=True)
|
blank=True)
|
||||||
|
|
||||||
# Stealth invoices
|
# Stealth invoices
|
||||||
wants_stealth = models.BooleanField(default=False,
|
wants_stealth = models.BooleanField(default=True,
|
||||||
null=False)
|
null=False)
|
||||||
|
|
||||||
@receiver(post_save, sender=User)
|
@receiver(post_save, sender=User)
|
||||||
|
@ -735,7 +735,6 @@ class UserView(APIView):
|
|||||||
user.profile.is_referred = True
|
user.profile.is_referred = True
|
||||||
user.profile.referred_by = queryset[0]
|
user.profile.referred_by = queryset[0]
|
||||||
|
|
||||||
user.profile.wants_stealth = False
|
|
||||||
user.profile.save()
|
user.profile.save()
|
||||||
|
|
||||||
context["public_key"] = user.profile.public_key
|
context["public_key"] = user.profile.public_key
|
||||||
|
Loading…
Reference in New Issue
Block a user