Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
b9d4481e
Commit
b9d4481e
authored
9 years ago
by
Marcelo Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Temporary fix for emojis not showing
parent
c6d0d9ff
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/rocketchat-emojione/emojione.coffee
+7
-7
7 additions, 7 deletions
packages/rocketchat-emojione/emojione.coffee
with
7 additions
and
7 deletions
packages/rocketchat-emojione/emojione.coffee
+
7
−
7
View file @
b9d4481e
...
...
@@ -12,10 +12,10 @@ class Emojione
RocketChat
.
callbacks
.
add
'renderMessage'
,
Emojione
,
RocketChat
.
callbacks
.
priority
.
LOW
if
Meteor
.
isClient
Meteor
.
startup
->
Tracker
.
autorun
->
if
Meteor
.
user
()
?
.
settings
?
.
preferences
?
.
useEmojis
or
not
Meteor
.
user
()
?
.
settings
?
.
preferences
?
.
useEmojis
?
RocketChat
.
callbacks
.
add
'renderMessage'
,
Emojione
,
RocketChat
.
callbacks
.
priority
.
LOW
else
RocketChat
.
callbacks
.
remove
'renderMessage'
,
'Emojione'
\ No newline at end of file
# if Meteor.isClient
# Meteor.startup ->
# Tracker.autorun ->
# if Meteor.user()?.settings?.preferences?.useEmojis or not Meteor.user()?.settings?.preferences?.useEmojis?
# RocketChat.callbacks.add 'renderMessage', Emojione, RocketChat.callbacks.priority.LOW
# else
# RocketChat.callbacks.remove 'renderMessage', 'Emojione'
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment