handle gifted subscriptions. Fixes #754

This commit is contained in:
Phillip Thelen 2017-09-15 15:59:30 +02:00
parent 5440490320
commit f71d96fff2

View file

@ -37,7 +37,7 @@ public class SubscriptionPlan extends RealmObject {
public boolean isActive() {
Date today = new Date();
return planId != null && (this.dateTerminated == null || this.dateTerminated.after(today));
return customerId != null && (this.dateTerminated == null || this.dateTerminated.after(today));
}
public int totalNumberOfGems() {