mirror of
https://github.com/hack-chat/main.git
synced 2024-03-22 13:20:33 +08:00
add trip to emotes (/me)
This commit is contained in:
parent
aeec2be24f
commit
769b856d1c
|
@ -42,6 +42,9 @@ exports.run = async (core, server, socket, payload) => {
|
|||
nick: socket.nick,
|
||||
text: `@${socket.nick} ${text}`
|
||||
};
|
||||
if (socket.trip) {
|
||||
newPayload.trip = socket.trip;
|
||||
}
|
||||
|
||||
// broadcast to channel peers
|
||||
server.broadcast( newPayload, { channel: socket.channel});
|
||||
|
|
Loading…
Reference in New Issue
Block a user