From a314d2b539804a31e602774196676e2d0089b8dc Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 19 Feb 2024 04:48:20 +0100 Subject: [bugfix] Refactor parse mention, fix local mention bug (#2657) * [bugfix] Refactor parse mention, fix local mention bug * originAccount -> originAcct --- internal/processing/account/account_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/processing/account') diff --git a/internal/processing/account/account_test.go b/internal/processing/account/account_test.go index d43b4c937..2eea5f438 100644 --- a/internal/processing/account/account_test.go +++ b/internal/processing/account/account_test.go @@ -115,7 +115,7 @@ func (suite *AccountStandardTestSuite) SetupTest() { filter := visibility.NewFilter(&suite.state) common := common.New(&suite.state, suite.tc, suite.federator, filter) - suite.accountProcessor = account.New(&common, &suite.state, suite.tc, suite.mediaManager, suite.oauthServer, suite.federator, filter, processing.GetParseMentionFunc(suite.db, suite.federator)) + suite.accountProcessor = account.New(&common, &suite.state, suite.tc, suite.mediaManager, suite.oauthServer, suite.federator, filter, processing.GetParseMentionFunc(&suite.state, suite.federator)) testrig.StandardDBSetup(suite.db, nil) testrig.StandardStorageSetup(suite.storage, "../../../testrig/media") } -- cgit v1.2.3