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/text/formatter_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/text/formatter_test.go') diff --git a/internal/text/formatter_test.go b/internal/text/formatter_test.go index cce9970b2..6fd8f4d7b 100644 --- a/internal/text/formatter_test.go +++ b/internal/text/formatter_test.go @@ -74,7 +74,7 @@ func (suite *TextStandardTestSuite) SetupTest() { suite.db = testrig.NewTestDB(&state) federator := testrig.NewTestFederator(&state, testrig.NewTestTransportController(&state, testrig.NewMockHTTPClient(nil, "../../testrig/media")), nil) - suite.parseMention = processing.GetParseMentionFunc(suite.db, federator) + suite.parseMention = processing.GetParseMentionFunc(&state, federator) suite.formatter = text.NewFormatter(suite.db) -- cgit v1.2.3