From 769b856d1c122c7cfd7cb2071a14448ad36a68fc Mon Sep 17 00:00:00 2001 From: Manuel Herrmann <0@0x17.de> Date: Sat, 12 Oct 2019 01:11:13 +0200 Subject: add trip to emotes (/me) --- server/src/commands/core/emote.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/src/commands/core') diff --git a/server/src/commands/core/emote.js b/server/src/commands/core/emote.js index f51f854..b0203cc 100644 --- a/server/src/commands/core/emote.js +++ b/server/src/commands/core/emote.js @@ -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}); -- cgit v1.2.1