mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 04:23:13 +00:00
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 changed files with 8 additions and 0 deletions
|
@ -2,6 +2,12 @@
|
|||
<span class="content">
|
||||
<Username :user="message.from" />
|
||||
<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
|
||||
</span>
|
||||
</template>
|
||||
|
|
|
@ -41,6 +41,8 @@ module.exports = function (irc, network) {
|
|||
time: data.time,
|
||||
from: user,
|
||||
hostmask: data.ident + "@" + data.hostname,
|
||||
gecos: data.gecos,
|
||||
account: data.account,
|
||||
type: Msg.Type.JOIN,
|
||||
self: data.nick === irc.user.nick,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue