2018-08-23 14:47:33 -07:00
|
|
|
import { emojifyText } from './emojifyText'
|
2019-07-21 15:31:17 -07:00
|
|
|
import { massageStatusPlainText } from './massageStatusPlainText'
|
2018-08-23 14:47:33 -07:00
|
|
|
|
|
|
|
export function massageUserText (text, emojis, $autoplayGifs) {
|
|
|
|
text = text || ''
|
|
|
|
text = emojifyText(text, emojis, $autoplayGifs)
|
2019-07-21 15:31:17 -07:00
|
|
|
text = massageStatusPlainText(text)
|
2018-08-23 14:47:33 -07:00
|
|
|
return text
|
|
|
|
}
|