mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-22 10:13:18 +00:00
Fix posts coming from public/hashtag streaming being marked as unquotable (#36860)
This commit is contained in:
parent
59f0134578
commit
55b9d21537
10 changed files with 49 additions and 16 deletions
|
|
@ -159,7 +159,7 @@ class Status extends ImmutablePureComponent {
|
|||
};
|
||||
|
||||
UNSAFE_componentWillMount () {
|
||||
this.props.dispatch(fetchStatus(this.props.params.statusId));
|
||||
this.props.dispatch(fetchStatus(this.props.params.statusId, { forceFetch: true }));
|
||||
}
|
||||
|
||||
componentDidMount () {
|
||||
|
|
@ -170,7 +170,7 @@ class Status extends ImmutablePureComponent {
|
|||
|
||||
UNSAFE_componentWillReceiveProps (nextProps) {
|
||||
if (nextProps.params.statusId !== this.props.params.statusId && nextProps.params.statusId) {
|
||||
this.props.dispatch(fetchStatus(nextProps.params.statusId));
|
||||
this.props.dispatch(fetchStatus(nextProps.params.statusId, { forceFetch: true }));
|
||||
}
|
||||
|
||||
if (nextProps.status && nextProps.status.get('id') !== this.state.loadedStatusId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue