mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[bugfix] Refactor parse mention, fix local mention bug (#2657)
* [bugfix] Refactor parse mention, fix local mention bug * originAccount -> originAcct
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user