diff options
Diffstat (limited to 'internal/gtsmodel/status.go')
| -rw-r--r-- | internal/gtsmodel/status.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/gtsmodel/status.go b/internal/gtsmodel/status.go index eca50416e..884caac0c 100644 --- a/internal/gtsmodel/status.go +++ b/internal/gtsmodel/status.go @@ -89,6 +89,13 @@ func (s *Status) GetAccountID() string { return s.AccountID } +// GetAccount returns the account that owns +// this status. May be nil if status not populated. +// Fulfils Interaction interface. +func (s *Status) GetAccount() *Account { + return s.Account +} + // GetBoostOfID implements timeline.Timelineable{}. func (s *Status) GetBoostOfID() string { return s.BoostOfID |
