mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-27 11:48:09 +03:00
15 lines
458 B
Go
15 lines
458 B
Go
|
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) {
|
||
|
return &apimodel.Context{
|
||
|
Ancestors: []apimodel.Status{},
|
||
|
Descendants: []apimodel.Status{},
|
||
|
}, nil
|
||
|
}
|