fix messages with push flag *and* sms flag set...

// FREEBIE
This commit is contained in:
Jake McGinty 2015-06-03 15:05:10 -07:00 committed by Moxie Marlinspike
parent 82d7300fc0
commit 8999e5fc54

View File

@ -135,7 +135,7 @@ public abstract class MessageRecord extends DisplayRecord {
} }
public boolean isPush() { public boolean isPush() {
return SmsDatabase.Types.isPushType(type); return SmsDatabase.Types.isPushType(type) && !SmsDatabase.Types.isForcedSms(type);
} }
public boolean isForcedSms() { public boolean isForcedSms() {