MessateReceiver.maybeUpdateTimestamp: Annotate group identifier for log

This commit is contained in:
Scott Nonnenberg 2022-01-20 18:09:03 -08:00 committed by GitHub
parent ec04e520ec
commit fb31a02d88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1863,8 +1863,11 @@ export default class MessageReceiver
try {
if (!conversation) {
const idForLogging = envelope.groupId
? `groupv2(${envelope.groupId})`
: envelope.sourceUuid;
log.info(
`maybeUpdateTimestamp/${timestamp}: No conversation found for identifier ${identifier}`
`maybeUpdateTimestamp/${timestamp}: No conversation found for identifier ${idForLogging}`
);
return envelope;
}