mail icon indicating copy to clipboard operation
mail copied to clipboard

fix: set createdAt timestamp for local attachments

Open kesselb opened this issue 2 months ago • 0 comments

Local copy of https://github.com/nextcloud/mail/pull/11943 with squashed commits.

  • Inject ITimeFactory into AttachmentService constructor
  • Set createdAt using timeFactory.getTime() when creating attachments
  • Update unit tests to mock ITimeFactory and expect createdAt value
  • Update integration tests to pass ITimeFactory dependency

kesselb avatar Oct 23 '25 22:10 kesselb