Bump up the edit send/receive timers to 24hr/48hr
This commit is contained in:
parent
0459ab02d3
commit
cc13350d3f
4 changed files with 7 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue