I had misunderstood the Mastodon docs' description of
Relationship::requested, which said "Do you have a pending follow
request for this user?". It turns out that means _you_ have requested
to follow _them_, not the other way round.
The other way round is also represented in this record, as the
'requested_by' field (mirroring followed and followed_by). Apparently
it's been in the server code for over a year, but accidentally left
out of the documentation until last month.
));
}
if rs.requested {
+ relationships.push(Paragraph::new().set_indent(2, 2).add(
+ &ColouredString::uniform(
+ "You have requested to follow this user",
+ 'r',
+ ),
+ ));
+ }
+ if rs.requested_by {
relationships.push(Paragraph::new().set_indent(2, 2).add(
&ColouredString::uniform(
"This user has requested to follow you!",
pub muting: bool,
pub muting_notifications: bool,
pub requested: bool,
+ pub requested_by: bool,
pub domain_blocking: bool,
pub endorsed: bool,
pub note: String,