mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-28 19:32:23 +02:00
26 lines
447 B
Vue
26 lines
447 B
Vue
<template v-elseif="message.type === 'message'">
|
|
<span class="content">
|
|
<template v-if="message.self">
|
|
<i v-html="$options.filters.parse(message.text)"/>
|
|
</template>
|
|
<template v-else>
|
|
<Username :user="message.from"/>
|
|
is back
|
|
</template>
|
|
</span>
|
|
</template>
|
|
|
|
<script>
|
|
import Username from "../Username.vue";
|
|
|
|
export default {
|
|
name: "MessageTypeBack",
|
|
components: {
|
|
Username,
|
|
},
|
|
props: {
|
|
message: Object,
|
|
},
|
|
};
|
|
</script>
|