mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-18 19:23:40 +00:00
Shorten alerts
This commit is contained in:
parent
696432c181
commit
e9e19f5811
1
.ackrc
1
.ackrc
@ -1,3 +1,4 @@
|
||||
--ignore-dir=node_modules
|
||||
--ignore-dir=dist
|
||||
--ignore-file=match:package-lock.json
|
||||
--ignore-file=match:.svg
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user