about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-02-10 21:54:43 +0100
committerThibaut Girka <thib@sitedethib.com>2019-02-10 21:54:43 +0100
commit14a1bb703a98282349cc95ac9a561c795c6881a0 (patch)
treedd664b65d3eaf538403cc4a846e995f4fc48b8fb /app/javascript
parentb7fbcb21b3ca7f7ee560785fa1249bf689fbaff3 (diff)
[Glitch] Fix not showing custom emojis in share page emoji picker
Port e02a13f64e5c2c93fa73a67a4ce32a7d1df24760 to glitch-soc
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/flavours/glitch/containers/compose_container.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/containers/compose_container.js b/app/javascript/flavours/glitch/containers/compose_container.js
index 60f6a9c9f..74c411b7c 100644
--- a/app/javascript/flavours/glitch/containers/compose_container.js
+++ b/app/javascript/flavours/glitch/containers/compose_container.js
@@ -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 = {