Add server banner to web app, add GET /api/v2/instance to REST API (#19294)
				
					
				
			This commit is contained in:
		@@ -13,7 +13,7 @@ import { debounce } from 'lodash';
 | 
			
		||||
import { uploadCompose, resetCompose, changeComposeSpoilerness } from '../../actions/compose';
 | 
			
		||||
import { expandHomeTimeline } from '../../actions/timelines';
 | 
			
		||||
import { expandNotifications } from '../../actions/notifications';
 | 
			
		||||
import { fetchRules } from '../../actions/rules';
 | 
			
		||||
import { fetchServer } from '../../actions/server';
 | 
			
		||||
import { clearHeight } from '../../actions/height_cache';
 | 
			
		||||
import { focusApp, unfocusApp, changeLayout } from 'mastodon/actions/app';
 | 
			
		||||
import { synchronouslySubmitMarkers, submitMarkers, fetchMarkers } from 'mastodon/actions/markers';
 | 
			
		||||
@@ -392,7 +392,7 @@ class UI extends React.PureComponent {
 | 
			
		||||
      this.props.dispatch(expandHomeTimeline());
 | 
			
		||||
      this.props.dispatch(expandNotifications());
 | 
			
		||||
 | 
			
		||||
      setTimeout(() => this.props.dispatch(fetchRules()), 3000);
 | 
			
		||||
      setTimeout(() => this.props.dispatch(fetchServer()), 3000);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    this.hotkeys.__mousetrap__.stopCallback = (e, element) => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user