make sure the attribute is not duplicated in TreeCache and NoteCache, #1278

This commit is contained in:
zadam
2020-09-30 22:34:18 +02:00
parent d163289003
commit cba9b92202
5 changed files with 32 additions and 4 deletions

View File

@@ -106,6 +106,10 @@ function buildRewardMap(note) {
addToRewardMap(attr.name, reward);
}
if (attr.name === 'cliptype') {
reward /= 2;
}
let value = attr.value;
if (value.startsWith('http')) {