Resign ourselves to a less sophisticated contact intersection method.

This commit is contained in:
Moxie Marlinspike
2013-09-30 13:24:42 -07:00
parent 073b1f69e3
commit 75cca3add1
7 changed files with 219 additions and 22 deletions

View File

@@ -67,7 +67,7 @@ public class PreKeyUtil {
for (String keyRecordId : keyRecordIds) {
try {
if (Integer.parseInt(keyRecordId) != Medium.MAX_VALUE) {
if (!keyRecordId.equals(PreKeyIndex.FILE_NAME) && Integer.parseInt(keyRecordId) != Medium.MAX_VALUE) {
records.add(new PreKeyRecord(context, masterSecret, Integer.parseInt(keyRecordId)));
}
} catch (InvalidKeyIdException e) {