Skip to content

Commit

Permalink
Fix me does
Browse files Browse the repository at this point in the history
Fixes #139
  • Loading branch information
mweibel committed Jul 13, 2015
1 parent 3f4edf3 commit a368b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion me-does/candy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CandyShop.MeDoes = (function(self, Candy, $) {
$(Candy).on("candy:view.message.before-show", function(e, args) {
if (args && args.message && args.message.match(/^\/me /i)) {
var message = args.message.match(/^\/([^\s]+)(?:\s+(.*))?$/m)[2];
Candy.View.Pane.Chat.infoMessage(args.roomJid, '<span><strong>' + args.name + '</strong> ' + message + '</span>');
Candy.View.Pane.Chat.infoMessage(args.roomJid, null, '<span><strong>' + args.name + '</strong> ' + message + '</span>');
return false;
}
});
Expand Down

0 comments on commit a368b1e

Please sign in to comment.