fix manual subscription reminder sent for lifetime user

This commit is contained in:
Son 2021-11-02 15:47:31 +01:00
parent 4369137e25
commit d81e9fb75f

View file

@ -160,6 +160,10 @@ def notify_manual_sub_end():
# user can have a (free) manual subscription but has taken a paid subscription via
# Paddle, Coinbase or Apple since then
if manual_sub.is_giveaway:
if user.lifetime:
LOG.d("%s has a lifetime licence", user)
continue
if user.get_subscription():
LOG.d("%s has a active Paddle subscription", user)
continue