Adds logging to see what server timestamp is for edit messages > 24hr
This commit is contained in:
@@ -2309,7 +2309,8 @@ export default class MessageReceiver
|
|||||||
if (isOlderThan(envelope.serverTimestamp, durations.DAY)) {
|
if (isOlderThan(envelope.serverTimestamp, durations.DAY)) {
|
||||||
log.info(
|
log.info(
|
||||||
'MessageReceiver.handleEditMessage: cannot edit message older than 24h',
|
'MessageReceiver.handleEditMessage: cannot edit message older than 24h',
|
||||||
logId
|
logId,
|
||||||
|
envelope.serverTimestamp
|
||||||
);
|
);
|
||||||
this.removeFromCache(envelope);
|
this.removeFromCache(envelope);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user