Clean message preview/print

This commit is contained in:
djmaze 2020-10-03 13:04:23 +02:00
parent c3a2da65df
commit 2bd9528098
3 changed files with 50 additions and 110 deletions

View file

@ -80,14 +80,6 @@ function splitPlainText(text, len = 100) {
return prefix + result;
}
/**
* @param {any} m
* @returns {any}
*/
export function deModule(m) {
return (m && m.default ? m.default : m) || '';
}
/**
* @returns {boolean}
*/