Bump up the edit send/receive timers to 24hr/48hr

This commit is contained in:
Josh Perez 2023-08-25 09:50:04 -04:00 committed by GitHub
parent 0459ab02d3
commit cc13350d3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 8 deletions

View file

@ -84,9 +84,9 @@ export async function handleEditMessage(
if (
serverTimestamp &&
!isNoteToSelf &&
isOlderThan(serverTimestamp, durations.DAY)
isOlderThan(serverTimestamp, durations.DAY * 2)
) {
log.warn(`${idLog}: cannot edit message older than 24h`, serverTimestamp);
log.warn(`${idLog}: cannot edit message older than 48h`, serverTimestamp);
return;
}