mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +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{
|
||||
"messageID": message.ID,
|
||||
"subject": logging.Sensitive(message.Subject),
|
||||
"date": message.Time,
|
||||
}).Info("Handling message created event")
|
||||
|
||||
full, err := s.client.GetFullMessage(ctx, message.ID, usertypes.NewProtonAPIScheduler(s.panicHandler), proton.NewDefaultAttachmentAllocator())
|
||||
|
||||
Reference in New Issue
Block a user