add date when initializing metadata

This commit is contained in:
ansuz 2019-09-03 18:34:10 +02:00
parent 9a9b75674b
commit 8d036ba73a

View file

@ -809,6 +809,7 @@ module.exports.create = function (cfg) {
}
}
metadata.channel = channelName;
metadata.created = +new Date();
// if the user sends us an invalid key, we won't be able to validate their messages
// so they'll never get written to the log anyway. Let's just drop their message