[Glitch] Add limited attribute to accounts in REST API and a warning in web UI
				
					
				
			Port b4d373a3df to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
			
			
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
import React from 'react';
 | 
			
		||||
import { connect } from 'react-redux';
 | 
			
		||||
import { makeGetAccount } from 'flavours/glitch/selectors';
 | 
			
		||||
import { makeGetAccount, getAccountHidden } from 'flavours/glitch/selectors';
 | 
			
		||||
import Header from '../components/header';
 | 
			
		||||
import {
 | 
			
		||||
  followAccount,
 | 
			
		||||
@@ -34,6 +34,7 @@ const makeMapStateToProps = () => {
 | 
			
		||||
  const mapStateToProps = (state, { accountId }) => ({
 | 
			
		||||
    account: getAccount(state, accountId),
 | 
			
		||||
    domain: state.getIn(['meta', 'domain']),
 | 
			
		||||
    hidden: getAccountHidden(state, accountId),
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  return mapStateToProps;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user