Fixed status/repost functionality to show status if owned by given username

fixes: #47
This commit is contained in:
mgabdev
2019-07-16 14:41:36 -04:00
parent 826773ee79
commit 17af572ec9
4 changed files with 45 additions and 7 deletions

View File

@@ -63,7 +63,11 @@ const makeMapStateToProps = () => {
const getStatus = makeGetStatus();
const mapStateToProps = (state, props) => {
const status = getStatus(state, { id: props.params.statusId });
const status = getStatus(state, {
id: props.params.statusId,
username: props.params.username
});
let ancestorsIds = Immutable.List();
let descendantsIds = Immutable.List();