Use Autocrypt gossip field for deduplication
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
package org.sufficientlysecure.keychain.remote.ui.dialog;
|
package org.sufficientlysecure.keychain.remote.ui.dialog;
|
||||||
|
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
@@ -120,8 +121,8 @@ class RemoteDeduplicatePresenter implements LoaderCallbacks<List<KeyInfo>> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// long masterKeyId = keyInfoData.get(selectedItem).getMasterKeyId();
|
long masterKeyId = keyInfoData.get(selectedItem).getMasterKeyId();
|
||||||
// autocryptPeerDao.updateToSelectedState(duplicateAddress, masterKeyId);
|
autocryptPeerDao.updateKeyGossip(duplicateAddress, new Date(), masterKeyId);
|
||||||
|
|
||||||
view.finish();
|
view.finish();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user