drop usage of historyKeeper.setConfig

This commit is contained in:
ansuz
2020-01-27 18:54:16 -05:00
parent 80c012f34d
commit b922860339
3 changed files with 49 additions and 36 deletions

View File

@@ -22,3 +22,12 @@ HK.getHash = function (msg, Log) {
return msg.slice(0,64);
};
// historyKeeper should explicitly store any channel
// with a 32 character id
HK.STANDARD_CHANNEL_LENGTH = 32;
// historyKeeper should not store messages sent to any channel
// with a 34 character id
HK.EPHEMERAL_CHANNEL_LENGTH = 34;