gotosocial/internal/processing/synchronous/status/context.go

15 lines
458 B
Go
Raw Normal View History

package status
import (
apimodel "github.com/superseriousbusiness/gotosocial/internal/api/model"
"github.com/superseriousbusiness/gotosocial/internal/gtserror"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
)
func (p *processor) Context(account *gtsmodel.Account, targetStatusID string) (*apimodel.Context, gtserror.WithCode) {
2021-06-06 10:01:20 +00:00
return &apimodel.Context{
2021-06-11 16:38:58 +00:00
Ancestors: []apimodel.Status{},
2021-06-06 10:01:20 +00:00
Descendants: []apimodel.Status{},
}, nil
}