Fix error when spellcheck disabled
Fix error when spellcheck disabled

mattermost/desktop,yuya-oc/electron-mattermost,yuya-oc/electron-mattermost,yuya-oc/desktop,yuya-oc/desktop,mattermost/desktop,mattermost/desktop,yuya-oc/desktop,mattermost/desktop,yuya-oc/electron-mattermost,mattermost/desktop