group added to status serialization and old group_id usages changed

This commit is contained in:
2458773093
2019-07-26 21:08:51 +03:00
parent fc4f3f2831
commit c311f6b9d0
3 changed files with 5 additions and 3 deletions

View File

@@ -173,13 +173,13 @@ class StatusActionBar extends ImmutablePureComponent {
handleGroupRemoveAccount = () => {
const { status } = this.props;
this.props.onGroupRemoveAccount(status.get('group_id'), status.getIn(['account', 'id']));
this.props.onGroupRemoveAccount(status.getIn(['group', 'id']), status.getIn(['account', 'id']));
}
handleGroupRemovePost = () => {
const { status } = this.props;
this.props.onGroupRemoveStatus(status.get('group_id'), status.get('id'));
this.props.onGroupRemoveStatus(status.getIn(['group', 'id']), status.get('id'));
}
_makeMenu = (publicStatus) => {