Merge pull request #4105 from GewoonYorick/3700/add-extended-join-info
Add extended join information to join message
This commit is contained in:
commit
4529118fd9
@ -2,6 +2,12 @@
|
|||||||
<span class="content">
|
<span class="content">
|
||||||
<Username :user="message.from" />
|
<Username :user="message.from" />
|
||||||
<i class="hostmask"> ({{ message.hostmask }})</i>
|
<i class="hostmask"> ({{ message.hostmask }})</i>
|
||||||
|
<template v-if="message.account !== false">
|
||||||
|
<i class="account"> [{{ message.account }}]</i>
|
||||||
|
</template>
|
||||||
|
<template v-if="message.gecos !== false">
|
||||||
|
<i class="realname"> {{ message.gecos }} -</i>
|
||||||
|
</template>
|
||||||
has joined the channel
|
has joined the channel
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -41,6 +41,8 @@ module.exports = function (irc, network) {
|
|||||||
time: data.time,
|
time: data.time,
|
||||||
from: user,
|
from: user,
|
||||||
hostmask: data.ident + "@" + data.hostname,
|
hostmask: data.ident + "@" + data.hostname,
|
||||||
|
gecos: data.gecos,
|
||||||
|
account: data.account,
|
||||||
type: Msg.Type.JOIN,
|
type: Msg.Type.JOIN,
|
||||||
self: data.nick === irc.user.nick,
|
self: data.nick === irc.user.nick,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user