diff --git a/.ackrc b/.ackrc index 60701ec5..d5ed1145 100644 --- a/.ackrc +++ b/.ackrc @@ -1,3 +1,4 @@ --ignore-dir=node_modules --ignore-dir=dist --ignore-file=match:package-lock.json +--ignore-file=match:.svg diff --git a/src/app/alerts.ts b/src/app/alerts.ts index 011f764b..2ef7dfd7 100644 --- a/src/app/alerts.ts +++ b/src/app/alerts.ts @@ -158,7 +158,7 @@ const processChats = async (pubkey, events) => { const listen = async pubkey => { // Include an offset so we don't miss alerts on one relay but not another - const since = now() - timedelta(30, 'days') + const since = now() - timedelta(7, 'days') const roomIds = pluck('id', database.rooms.all({joined: true})) if (listener) {