insecure fallback mark as "not push"

Closes #3332
// FREEBIE
This commit is contained in:
Jake McGinty 2015-06-03 15:51:27 -07:00 committed by Moxie Marlinspike
parent 8999e5fc54
commit 6d0720c956
2 changed files with 2 additions and 2 deletions

View File

@ -378,7 +378,7 @@ public class MmsDatabase extends MessagingDatabase {
} }
public void markAsForcedSms(long messageId) { public void markAsForcedSms(long messageId) {
updateMailboxBitmask(messageId, 0, Types.MESSAGE_FORCE_SMS_BIT); updateMailboxBitmask(messageId, Types.PUSH_MESSAGE_BIT, Types.MESSAGE_FORCE_SMS_BIT);
notifyConversationListeners(getThreadIdForMessage(messageId)); notifyConversationListeners(getThreadIdForMessage(messageId));
} }

View File

@ -198,7 +198,7 @@ public class SmsDatabase extends MessagingDatabase {
} }
public void markAsForcedSms(long id) { public void markAsForcedSms(long id) {
updateTypeBitmask(id, 0, Types.MESSAGE_FORCE_SMS_BIT); updateTypeBitmask(id, Types.PUSH_MESSAGE_BIT, Types.MESSAGE_FORCE_SMS_BIT);
} }
public void markAsDecryptFailed(long id) { public void markAsDecryptFailed(long id) {