forked from Ivasoft/mattermost-mobile
Fix opengraph and reactions for older servers (#2581)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user