switches username and preferred_username
This commit is contained in:
@@ -107,8 +107,8 @@ func ProcessLikeActivity(app core.App, actor *core.Record, activity pub.Activity
|
||||
Metadata: map[string]string{
|
||||
"trail_id": trail.Id,
|
||||
"trail_name": trail.GetString("name"),
|
||||
"trail_author": fmt.Sprintf("@%s", trailAuthor.GetString("username")),
|
||||
"liker": fmt.Sprintf("@%s@%s", actor.GetString("username"), actor.GetString("domain")),
|
||||
"trail_author": fmt.Sprintf("@%s", trailAuthor.GetString("preferred_username")),
|
||||
"liker": fmt.Sprintf("@%s@%s", actor.GetString("preferred_username"), actor.GetString("domain")),
|
||||
},
|
||||
Seen: false,
|
||||
Author: actor.Id,
|
||||
|
||||
Reference in New Issue
Block a user