[bugfix] Refactor parse mention, fix local mention bug (#2657)

* [bugfix] Refactor parse mention, fix local mention bug

* originAccount -> originAcct
This commit is contained in:
tobi
2024-02-19 04:48:20 +01:00
committed by GitHub
parent b14cd645f9
commit a314d2b539
8 changed files with 233 additions and 97 deletions

View File

@ -151,7 +151,7 @@ func NewProcessor(
emailSender email.Sender,
) *Processor {
var (
parseMentionFunc = GetParseMentionFunc(state.DB, federator)
parseMentionFunc = GetParseMentionFunc(state, federator)
filter = visibility.NewFilter(state)
)