Adds logging to see what server timestamp is for edit messages > 24hr
This commit is contained in:
parent
bd7545e6d2
commit
a255ac02c8
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue