thelounge/client/components/MessageTypes/join.vue

29 lines
556 B
Vue
Raw Normal View History

2018-07-10 11:10:37 +02:00
<template>
2018-07-09 12:44:12 +02:00
<span class="content">
2018-07-29 19:57:14 +02:00
<Username :user="message.from" />
<i class="hostmask"> ({{ message.hostmask }})</i>
<template v-if="message.account">
<i class="account"> [{{ message.account }}]</i>
</template>
<template v-if="message.gecos">
<i class="realname"> {{ message.gecos }}</i>
</template>
2018-07-09 12:44:12 +02:00
has joined the channel
</span>
</template>
<script>
import Username from "../Username.vue";
export default {
name: "MessageTypeJoin",
components: {
Username,
},
props: {
network: Object,
2018-07-09 12:44:12 +02:00
message: Object,
},
};
</script>