Fix opengraph and reactions for older servers (#2581)
This commit is contained in:
parent
0de0920974
commit
4c9ad4a424
2 changed files with 2 additions and 2 deletions
|
|
@ -184,7 +184,7 @@ export default class PostBodyAdditionalContent extends PureComponent {
|
|||
return attachments;
|
||||
}
|
||||
|
||||
if (!openGraphData) {
|
||||
if (!openGraphData && metadata) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ export default class Reactions extends PureComponent {
|
|||
|
||||
componentDidMount() {
|
||||
const {actions, postId, reactions} = this.props;
|
||||
if (reactions) {
|
||||
if (!reactions) {
|
||||
actions.getReactionsForPost(postId);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue