[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
commit a314d2b539
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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)
)