Add creation timestamps to signed keys

This commit is contained in:
lilia 2017-02-14 15:26:34 -08:00
parent dfc292ac70
commit 829d147d19

View file

@ -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() {