kopia lustrzana https://github.com/ryukoposting/Signal-Android
Correctly handle PKWM via SMS.
rodzic
baaa3514d4
commit
a85dbce041
|
@ -102,7 +102,7 @@ public class EncryptingSmsDatabase extends SmsDatabase {
|
||||||
public void updateBundleMessageBody(MasterSecret masterSecret, long messageId, String body) {
|
public void updateBundleMessageBody(MasterSecret masterSecret, long messageId, String body) {
|
||||||
String encryptedBody = getEncryptedBody(masterSecret, body);
|
String encryptedBody = getEncryptedBody(masterSecret, body);
|
||||||
updateMessageBodyAndType(messageId, encryptedBody, Types.TOTAL_MASK,
|
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) {
|
public void updateMessageBody(MasterSecret masterSecret, long messageId, String body) {
|
||||||
|
|
Ładowanie…
Reference in New Issue