Skip to content

Commit

Permalink
Emoticons should be rendered with message template
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Manohar J <akash@akash.im>
  • Loading branch information
HashNuke committed Apr 13, 2012
1 parent 6290306 commit bc69ef5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -44,6 +44,6 @@ class Kandan.Plugins.Emoticons
replacement = @options.template({ emoticon: emoticon, title: title})
message.content = message.content.replace(search, replacement) if emoticon
console.log(message.content)
return Kandan.Helpers.Activities.buildFromBaseTemplate(message)
return Kandan.Helpers.Activities.buildFromMessageTemplate(message)

# Kandan.Plugins.register "Kandan.Plugins.Emoticons"

0 comments on commit bc69ef5

Please sign in to comment.