Compare commits
1 Commits
v1.0.0
...
aacfc7f83d
| Author | SHA1 | Date | |
|---|---|---|---|
| aacfc7f83d |
@@ -11,7 +11,7 @@ module.exports = function (robot) {
|
||||
if (!xmppRooms.includes(conference)) return;
|
||||
|
||||
const room = hubotRooms[xmppRooms.indexOf(conference)];
|
||||
const msg = `[xmpp] <${from}> ${message}`;
|
||||
const msg = `<${from}> ${message}`;
|
||||
|
||||
robot.messageRoom(room, msg);
|
||||
});
|
||||
@@ -34,7 +34,7 @@ module.exports = function (robot) {
|
||||
if (!hubotRooms.includes(message.user.room)) return;
|
||||
|
||||
const room = xmppRooms[hubotRooms.indexOf(message.user.room)];
|
||||
const msg = `[irc] <${message.user['id']}> ${message.text}`;
|
||||
const msg = `<${message.user['id']}> ${message.text}`;
|
||||
|
||||
xmpp.send(room, msg, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user