mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-18 22:26:35 +02:00
26 lines
476 B
Vue
26 lines
476 B
Vue
<template v-elseif="message.type === 'message'">
|
|
<span class="content">
|
|
<Username :user="message.from"/>
|
|
<i class="hostmask">({{ message.hostmask }})</i>
|
|
has quit
|
|
<i
|
|
v-if="message.text"
|
|
class="quit-reason"
|
|
v-html="'(' + $options.filters.parse(message.text) + ')'"/>
|
|
</span>
|
|
</template>
|
|
|
|
<script>
|
|
import Username from "../Username.vue";
|
|
|
|
export default {
|
|
name: "MessageTypeQuit",
|
|
components: {
|
|
Username,
|
|
},
|
|
props: {
|
|
message: Object,
|
|
},
|
|
};
|
|
</script>
|