renamed StatusText to StatusBody for clarity, fixed chats
This commit is contained in:
parent
50aa379038
commit
8e9f5d7580
17 changed files with 316 additions and 225 deletions
|
@ -448,6 +448,8 @@ export const parseChatMessage = (message) => {
|
|||
output.id = message.id
|
||||
output.created_at = new Date(message.created_at)
|
||||
output.chat_id = message.chat_id
|
||||
output.emojis = message.emojis
|
||||
output.content_raw = message.content
|
||||
if (message.content) {
|
||||
output.content = addEmojis(message.content, message.emojis)
|
||||
} else {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* This is a not-so-tiny purpose-built HTML parser/processor. It was made for use
|
||||
* with StatusText component for purpose of replacing tags with vue components
|
||||
* with StatusBody component for purpose of replacing tags with vue components
|
||||
*
|
||||
* known issue: doesn't handle CDATA so nested CDATA might not work well
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue