Fix adding comment when no activity entry is present

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-10-09 20:06:45 +02:00
parent 8e3fa71a2d
commit 4bd7f4fd39

View File

@@ -154,7 +154,7 @@ class ActivityService {
} }
if (typeof this.since[type][id] === 'undefined') { if (typeof this.since[type][id] === 'undefined') {
this.since[type][id] = { this.since[type][id] = {
latest: 0, latest: -1,
oldestCatchedUp: false, oldestCatchedUp: false,
oldest: '0', oldest: '0',
finished: false, finished: false,