Correctly handle PKWM via SMS.

master
Moxie Marlinspike 2014-11-12 14:22:31 -08:00
parent baaa3514d4
commit a85dbce041
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public class EncryptingSmsDatabase extends SmsDatabase {
public void updateBundleMessageBody(MasterSecret masterSecret, long messageId, String body) {
String encryptedBody = getEncryptedBody(masterSecret, body);
updateMessageBodyAndType(messageId, encryptedBody, Types.TOTAL_MASK,
Types.BASE_INBOX_TYPE | Types.SECURE_MESSAGE_BIT);
Types.BASE_INBOX_TYPE | Types.ENCRYPTION_SYMMETRIC_BIT | Types.SECURE_MESSAGE_BIT);
}
public void updateMessageBody(MasterSecret masterSecret, long messageId, String body) {