Mark verified messages as push

Fixes #4769
Closes #5627
// FREEBIE
pull/1/head
FeuRenard 8 years ago committed by Moxie Marlinspike
parent 63f7faf5bb
commit db10e5fec6

@ -109,7 +109,7 @@ public class EncryptingSmsDatabase extends SmsDatabase {
}
public Pair<Long, Long> updateBundleMessageBody(MasterSecretUnion masterSecret, long messageId, String body) {
long type = Types.BASE_INBOX_TYPE | Types.SECURE_MESSAGE_BIT;
long type = Types.BASE_INBOX_TYPE | Types.SECURE_MESSAGE_BIT | Types.PUSH_MESSAGE_BIT;
String encryptedBody;
if (masterSecret.getMasterSecret().isPresent()) {

Loading…
Cancel
Save