diff --git a/internal/media/manager.go b/internal/media/manager.go index 2807848bd..f29422afd 100644 --- a/internal/media/manager.go +++ b/internal/media/manager.go @@ -124,9 +124,6 @@ func (m *Manager) CreateMedia( // Check if we were provided additional info // to add to the attachment, and overwrite // some of the attachment fields if so. - if info.CreatedAt != nil { - attachment.CreatedAt = *info.CreatedAt - } if info.StatusID != nil { attachment.StatusID = *info.StatusID } diff --git a/internal/media/types.go b/internal/media/types.go index 9631a15bd..6bca3a901 100644 --- a/internal/media/types.go +++ b/internal/media/types.go @@ -44,10 +44,6 @@ const ( // should be added to attachment when processing a piece of media. type AdditionalMediaInfo struct { - // Time that this media was - // created; defaults to time.Now(). - CreatedAt *time.Time - // ID of the status to which this // media is attached; defaults to "". StatusID *string