Shorten alerts

This commit is contained in:
Jonathan Staab 2023-03-13 14:36:54 -05:00
parent 696432c181
commit e9e19f5811
2 changed files with 2 additions and 1 deletions

1
.ackrc
View File

@ -1,3 +1,4 @@
--ignore-dir=node_modules
--ignore-dir=dist
--ignore-file=match:package-lock.json
--ignore-file=match:.svg

View File

@ -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) {