...
 
Commits (4)
......@@ -272,6 +272,7 @@ export default class ActivityModel extends BaseModel {
this.message = message
this.edited = 1;
}
}
/**
......
......@@ -32,6 +32,7 @@ import { CommonStyle } from '../../styles/Common';
import Pinned from '../../common/components/Pinned';
import blockListService from '../../common/services/block-list.service';
import i18n from '../../common/services/i18n.service';
import ActivityModel from '../ActivityModel';
/**
* Activity
......@@ -69,7 +70,7 @@ export default class Activity extends Component {
* Render
*/
render() {
const entity = this.props.entity;
const entity = ActivityModel.checkOrCreate(this.props.entity);
const hasText = !!entity.text;
const lock = (entity.paywall && entity.paywall !== '0')? <Lock entity={entity} navigation={this.props.navigation}/> : null;
......