Skip to content

Commit

Permalink
Merge branch 'develop' into release-0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Jul 12, 2019
2 parents cdd04d6 + 4463767 commit 6a15557
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions lib/BridgedRoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,11 +510,10 @@ BridgedRoom.prototype._handleSlackMessage = async function(message, ghost) {
}
// emotes
else if (subtype === "me_message") {
const message = {
return ghost.sendMessage(roomID, {
msgtype: "m.emote",
body: message.text
};
return ghost.sendMessage(roomID, message, slackRoomID, eventTS);
}, slackRoomID, eventTS);
}
// edits
else if (subtype === "message_changed") {
Expand Down
2 changes: 0 additions & 2 deletions lib/substitutions.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ function onMissingEmoji(name) {
* @param {Object} file options slack file object
*/
var slackToMatrix = function(body, file) {
log.info("running substitutions on: " + body);

if (undefined != body) {
for (var i = 0; i < SUBSTITUTION_PAIRS.length; ++i) {
var pair = SUBSTITUTION_PAIRS[i];
Expand Down

0 comments on commit 6a15557

Please sign in to comment.