[Glitch] Federate pinned statuses over ActivityPub

Port 9110db41c5 to glitch
This commit is contained in:
Thibaut Girka
2018-03-16 20:29:42 +01:00
parent cd73af3bd0
commit 6f0e50f9a0
8 changed files with 58 additions and 27 deletions

View File

@ -38,7 +38,10 @@ const makeMapStateToProps = () => {
let account = undefined;
let prepend = undefined;
if (reblogStatus !== null && typeof reblogStatus === 'object') {
if (props.featured) {
account = status.get('account');
prepend = 'featured';
} else if (reblogStatus !== null && typeof reblogStatus === 'object') {
account = status.get('account');
status = reblogStatus;
prepend = 'reblogged_by';