Add creation timestamps to signed keys
This commit is contained in:
parent
dfc292ac70
commit
829d147d19
1 changed files with 2 additions and 1 deletions
|
@ -158,7 +158,8 @@
|
|||
var prekey = new SignedPreKey({
|
||||
id : keyId,
|
||||
publicKey : keyPair.pubKey,
|
||||
privateKey : keyPair.privKey
|
||||
privateKey : keyPair.privKey,
|
||||
created_at : Date.now()
|
||||
});
|
||||
return new Promise(function(resolve) {
|
||||
prekey.save().always(function() {
|
||||
|
|
Loading…
Reference in a new issue