Feat add actors to meilisearch (#1048)
* initial commit * update api docs * adds search token versioning * make id filterable * isLocal -> is_local * add iri to actor index * update gitignore * Merge remote-tracking branch 'origin/main' into feat-add-actors-to-meilisearch * fix sharing for newly discovered actors * fix ActorSearchResult type --------- Co-authored-by: Christian Beutel <>
This commit is contained in:
@@ -1516,7 +1516,7 @@ func buildMergedCommentText(app core.App, comment *core.Record) string {
|
||||
if authorID := comment.GetString("author"); authorID != "" {
|
||||
if author, err := app.FindRecordById("activitypub_actors", authorID); err == nil {
|
||||
authorHandle = "@" + author.GetString("preferred_username")
|
||||
if !author.GetBool("isLocal") && author.GetString("domain") != "" {
|
||||
if !author.GetBool("is_local") && author.GetString("domain") != "" {
|
||||
authorHandle += "@" + author.GetString("domain")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user