Home | Notifications | New Note | Local | Federated | Search | Logout
🦉@aaa (2026-03-27 19:44:29) mention実装のメモ:Reply
mentionのtagをつけて相手に配送するだけではフォロワー以外にうまく受け入れられないことがある。
toに相手actorも含めること。
for mentioned_user in mentioned_users {
to.push(mentioned_user.ap_url.clone());
tag.push(json!({
"type": "Mention",
"href": mentioned_user.ap_url,
"name": &format!("@{}", mentioned_user.username),
}));
}
note_object["to"] = json!(to);
note_object["tag"] = json!(tag);