mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-19 14:46:36 +02:00
28 lines
529 B
Vue
28 lines
529 B
Vue
<template>
|
|
<span class="content">
|
|
<Username :user="message.from" />
|
|
<i class="hostmask"> ({{ message.hostmask }})</i> has quit <i
|
|
v-if="message.text"
|
|
class="quit-reason">(<ParsedMessage
|
|
:network="network"
|
|
:message="message" />)</i>
|
|
</span>
|
|
</template>
|
|
|
|
<script>
|
|
import ParsedMessage from "../ParsedMessage.vue";
|
|
import Username from "../Username.vue";
|
|
|
|
export default {
|
|
name: "MessageTypeQuit",
|
|
components: {
|
|
ParsedMessage,
|
|
Username,
|
|
},
|
|
props: {
|
|
network: Object,
|
|
message: Object,
|
|
},
|
|
};
|
|
</script>
|