diff options
| author | dave <starpumadev@gmail.com> | 2019-04-03 11:17:23 -0400 |
|---|---|---|
| committer | dave <starpumadev@gmail.com> | 2019-04-03 11:17:23 -0400 |
| commit | fe756fe30d565496646d2c5f64e2537f96b085b9 (patch) | |
| tree | 3becf4a2c293427123dbe8eb446dedc6a84460c7 /src | |
| parent | 6ed26ce65d650e813f0c5e5b570e36f944b120ca (diff) | |
#436 - revert stripe html for notification
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/statuses.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/statuses.js b/src/modules/statuses.js index 28daae99..43145311 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -313,11 +313,7 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot if (i18nString) { notifObj.body = rootGetters.i18n.t('notifications.' + i18nString) } else { - // stripe html - const div = document.createElement('div') - div.innerHTML = notification.status.text - const text = div.textContent || div.innerText || '' - notifObj.body = text + notifObj.body = notification.status.text } // Shows first attached non-nsfw image, if any. Should add configuration for this somehow... |
