Skip to content

Commit bc69ef5

Browse files
committedApr 13, 2012
Emoticons should be rendered with message template
Signed-off-by: Akash Manohar J <akash@akash.im>
1 parent 6290306 commit bc69ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎app/assets/javascripts/backbone/plugins/emoticons.js.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ class Kandan.Plugins.Emoticons
4444
replacement = @options.template({ emoticon: emoticon, title: title})
4545
message.content = message.content.replace(search, replacement) if emoticon
4646
console.log(message.content)
47-
return Kandan.Helpers.Activities.buildFromBaseTemplate(message)
47+
return Kandan.Helpers.Activities.buildFromMessageTemplate(message)
4848

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

0 commit comments

Comments
 (0)
Please sign in to comment.