mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 12:46:46 +00:00
chore: Also log the message received time when handling message creation event.
This commit is contained in:
committed by
Romain Le Jeune
parent
43df20c25d
commit
346988e604
@ -130,6 +130,7 @@ func onMessageCreated(
|
|||||||
s.log.WithFields(logrus.Fields{
|
s.log.WithFields(logrus.Fields{
|
||||||
"messageID": message.ID,
|
"messageID": message.ID,
|
||||||
"subject": logging.Sensitive(message.Subject),
|
"subject": logging.Sensitive(message.Subject),
|
||||||
|
"date": message.Time,
|
||||||
}).Info("Handling message created event")
|
}).Info("Handling message created event")
|
||||||
|
|
||||||
full, err := s.client.GetFullMessage(ctx, message.ID, usertypes.NewProtonAPIScheduler(s.panicHandler), proton.NewDefaultAttachmentAllocator())
|
full, err := s.client.GetFullMessage(ctx, message.ID, usertypes.NewProtonAPIScheduler(s.panicHandler), proton.NewDefaultAttachmentAllocator())
|
||||||
|
|||||||
Reference in New Issue
Block a user