Adds logging to see what server timestamp is for edit messages > 24hr

This commit is contained in:
Josh Perez 2023-06-13 17:35:41 -07:00 committed by GitHub
parent bd7545e6d2
commit a255ac02c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2309,7 +2309,8 @@ export default class MessageReceiver
if (isOlderThan(envelope.serverTimestamp, durations.DAY)) {
log.info(
'MessageReceiver.handleEditMessage: cannot edit message older than 24h',
logId
logId,
envelope.serverTimestamp
);
this.removeFromCache(envelope);
return;