thelounge/client/components/MessageTypes/chghost.vue

28 lines
497 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" />
2018-07-09 12:44:12 +02:00
has changed
2019-07-17 11:33:59 +02:00
<span v-if="message.new_ident"
>username to <b>{{ message.new_ident }}</b></span
>
<span v-if="message.new_host"
>hostname to <i class="hostmask">{{ message.new_host }}</i></span
>
2018-07-09 12:44:12 +02:00
</span>
</template>
<script>
import Username from "../Username.vue";
export default {
name: "MessageTypeChangeHost",
components: {
Username,
},
props: {
network: Object,
2018-07-09 12:44:12 +02:00
message: Object,
},
};
</script>