Add creation timestamps to signed keys
This commit is contained in:
@@ -158,7 +158,8 @@
|
|||||||
var prekey = new SignedPreKey({
|
var prekey = new SignedPreKey({
|
||||||
id : keyId,
|
id : keyId,
|
||||||
publicKey : keyPair.pubKey,
|
publicKey : keyPair.pubKey,
|
||||||
privateKey : keyPair.privKey
|
privateKey : keyPair.privKey,
|
||||||
|
created_at : Date.now()
|
||||||
});
|
});
|
||||||
return new Promise(function(resolve) {
|
return new Promise(function(resolve) {
|
||||||
prekey.save().always(function() {
|
prekey.save().always(function() {
|
||||||
|
Reference in New Issue
Block a user