kopia lustrzana https://github.com/ryukoposting/Signal-Android
Delete pre-key record when establishing agreement.
rodzic
43492b66c4
commit
c3b8b62d32
|
@ -132,6 +132,8 @@ public class KeyExchangeProcessor {
|
|||
remoteKeyRecord.save();
|
||||
sessionRecord.save();
|
||||
|
||||
PreKeyRecord.delete(context, preKeyId);
|
||||
|
||||
DatabaseFactory.getIdentityDatabase(context)
|
||||
.saveIdentity(masterSecret, recipient, remoteIdentity);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue