Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Emoticons should be rendered with message template

Signed-off-by: Akash Manohar J <akash@akash.im>
  • Loading branch information...
commit bc69ef5b41fc4a58b4dabb03bac3caef20103178 1 parent 6290306
Akash Manohar HashNuke authored
2  app/assets/javascripts/backbone/plugins/emoticons.js.coffee
@@ -44,6 +44,6 @@ class Kandan.Plugins.Emoticons
44 44 replacement = @options.template({ emoticon: emoticon, title: title})
45 45 message.content = message.content.replace(search, replacement) if emoticon
46 46 console.log(message.content)
47   - return Kandan.Helpers.Activities.buildFromBaseTemplate(message)
  47 + return Kandan.Helpers.Activities.buildFromMessageTemplate(message)
48 48
49 49 # Kandan.Plugins.register "Kandan.Plugins.Emoticons"

0 comments on commit bc69ef5

Please sign in to comment.
Something went wrong with that request. Please try again.