Track RT mode once we've retrieved the setting from account data
This commit is contained in:
parent
e121440d05
commit
fc6977e68d
1 changed files with 2 additions and 0 deletions
|
@ -161,6 +161,8 @@ export default class MessageComposerInput extends React.Component {
|
|||
|
||||
const isRichtextEnabled = UserSettingsStore.getSyncedSetting('MessageComposerInput.isRichTextEnabled', false);
|
||||
|
||||
Analytics.setRichtextMode(isRichtextEnabled);
|
||||
|
||||
this.state = {
|
||||
// whether we're in rich text or markdown mode
|
||||
isRichtextEnabled,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue