]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix not showing custom emojis in share page emoji picker
authorThibaut Girka <thib@sitedethib.com>
Sun, 10 Feb 2019 20:54:43 +0000 (21:54 +0100)
committerThibaut Girka <thib@sitedethib.com>
Sun, 10 Feb 2019 20:54:43 +0000 (21:54 +0100)
Port e02a13f64e5c2c93fa73a67a4ce32a7d1df24760 to glitch-soc

app/javascript/flavours/glitch/containers/compose_container.js

index 60f6a9c9f2c238698cbcdb892183e6c37297b4af..74c411b7c1c6867272a38e3ab5ec924100ce744a 100644 (file)
@@ -7,6 +7,7 @@ import { IntlProvider, addLocaleData } from 'react-intl';
 import { getLocale } from 'mastodon/locales';
 import Compose from 'flavours/glitch/features/standalone/compose';
 import initialState from 'flavours/glitch/util/initial_state';
+import { fetchCustomEmojis } from 'flavours/glitch/actions/custom_emojis';
 
 const { localeData, messages } = getLocale();
 addLocaleData(localeData);
@@ -17,6 +18,8 @@ if (initialState) {
   store.dispatch(hydrateStore(initialState));
 }
 
+store.dispatch(fetchCustomEmojis());
+
 export default class TimelineContainer extends React.PureComponent {
 
   static propTypes = {