remove old use of go-bytes

This commit is contained in:
kim 2025-03-14 15:25:10 +00:00
commit bc46cd72b6
10 changed files with 3 additions and 435 deletions

View file

@ -24,8 +24,8 @@ import (
"net/http"
"net/http/httptest"
"testing"
"bytes"
"codeberg.org/gruf/go-bytes"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/gotosocial/internal/api/client/lists"
"github.com/superseriousbusiness/gotosocial/internal/config"

View file

@ -263,8 +263,7 @@ func (s *Surface) listTimelineStatusForFollow(
// At this point we are certain this status
// should be included in the timeline of the
// list that this list entry belongs to.
listTimelined, err := s.timelineStatus(
ctx,
listTimelined, err := s.timelineStatus(ctx,
s.State.Timelines.List.IngestOne,
list.ID, // list timelines are keyed by list ID
follow.Account,
@ -444,8 +443,7 @@ func (s *Surface) timelineAndNotifyStatusForTagFollowers(
continue
}
if _, err := s.timelineStatus(
ctx,
if _, err := s.timelineStatus(ctx,
s.State.Timelines.Home.IngestOne,
tagFollowerAccount.ID, // home timelines are keyed by account ID
tagFollowerAccount,