Skip to content

Commit a85dbce

Browse files
committed
Correctly handle PKWM via SMS.
1 parent baaa351 commit a85dbce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/thoughtcrime/securesms/database/EncryptingSmsDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public Pair<Long, Long> insertMessageInbox(AsymmetricMasterSecret masterSecret,
102102
public void updateBundleMessageBody(MasterSecret masterSecret, long messageId, String body) {
103103
String encryptedBody = getEncryptedBody(masterSecret, body);
104104
updateMessageBodyAndType(messageId, encryptedBody, Types.TOTAL_MASK,
105-
Types.BASE_INBOX_TYPE | Types.SECURE_MESSAGE_BIT);
105+
Types.BASE_INBOX_TYPE | Types.ENCRYPTION_SYMMETRIC_BIT | Types.SECURE_MESSAGE_BIT);
106106
}
107107

108108
public void updateMessageBody(MasterSecret masterSecret, long messageId, String body) {

0 commit comments

Comments
 (0)