mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing sent emails for new premiums.
This commit is contained in:
parent
a7911316cd
commit
0e76d7ef14
1 changed files with 4 additions and 1 deletions
|
@ -195,7 +195,10 @@ NewsBlur""" % {'user': self.user.username, 'feeds': subs.count()}
|
|||
if not self.user.email or not self.send_emails:
|
||||
return
|
||||
|
||||
if self.is_premium and not force:
|
||||
sent_email, created = MSentEmail.objects.get_or_create(receiver_user_id=self.user.pk,
|
||||
email_type='new_premium')
|
||||
|
||||
if not created and not force:
|
||||
return
|
||||
|
||||
user = self.user
|
||||
|
|
Loading…
Add table
Reference in a new issue