mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-04-10 11:24:08 +00:00
remove unused AdditionalInfo{}.CreatedAt
This commit is contained in:
parent
3e131f5da6
commit
681927fa34
2 changed files with 0 additions and 7 deletions
internal/media
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue