mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 12:03:11 +00:00
14 lines
299 B
Vue
14 lines
299 B
Vue
<script>
|
|
const parse = require("../js/libs/handlebars/parse");
|
|
|
|
export default {
|
|
functional: true,
|
|
name: "ParsedMessage",
|
|
props: {
|
|
message: Object,
|
|
},
|
|
render(createElement, context) {
|
|
return parse(context.props.message.text, context.props.message.users, createElement);
|
|
},
|
|
};
|
|
</script>
|