Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
e5d11112
Commit
e5d11112
authored
Jan 16, 2018
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
0f4b60de
e2a545a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
src/converse-chatview.js
src/converse-chatview.js
+8
-2
No files found.
src/converse-chatview.js
View file @
e5d11112
...
@@ -520,7 +520,11 @@
...
@@ -520,7 +520,11 @@
},
},
getExtraMessageClasses
(
attrs
)
{
getExtraMessageClasses
(
attrs
)
{
if
(
window
.
converse_disable_effects
)
{
return
attrs
.
delayed
&&
'
delayed
'
||
''
;
}
else
{
return
'
onload
'
+
(
attrs
.
delayed
&&
'
delayed
'
||
''
);
return
'
onload
'
+
(
attrs
.
delayed
&&
'
delayed
'
||
''
);
}
},
},
renderMessage
(
attrs
)
{
renderMessage
(
attrs
)
{
...
@@ -562,7 +566,9 @@
...
@@ -562,7 +566,9 @@
'
extra_classes
'
:
this
.
getExtraMessageClasses
(
attrs
)
'
extra_classes
'
:
this
.
getExtraMessageClasses
(
attrs
)
})
})
));
));
if
(
!
window
.
converse_disable_effects
)
{
window
.
setTimeout
(
_
.
partial
(
u
.
removeClass
,
'
onload
'
,
msg
),
2000
);
window
.
setTimeout
(
_
.
partial
(
u
.
removeClass
,
'
onload
'
,
msg
),
2000
);
}
const
msg_content
=
msg
.
querySelector
(
'
.chat-msg-content
'
);
const
msg_content
=
msg
.
querySelector
(
'
.chat-msg-content
'
);
msg_content
.
innerHTML
=
u
.
addEmoji
(
msg_content
.
innerHTML
=
u
.
addEmoji
(
_converse
,
emojione
,
u
.
addHyperlinks
(
xss
.
filterXSS
(
text
,
{
'
whiteList
'
:
{}}))
_converse
,
emojione
,
u
.
addHyperlinks
(
xss
.
filterXSS
(
text
,
{
'
whiteList
'
:
{}}))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment