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
dfcc1d97
Commit
dfcc1d97
authored
Oct 18, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure encrypted messages aren't falsely matched as CSNs
parent
18dad134
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
dist/converse.js
dist/converse.js
+1
-1
src/converse-chatview.js
src/converse-chatview.js
+1
-1
src/utils/core.js
src/utils/core.js
+1
-0
No files found.
dist/converse.js
View file @
dfcc1d97
...
...
@@ -82163,7 +82163,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
attrs = attrs.attributes;
}
return attrs['chat_state'] && !attrs['oob_url'] && !attrs['file'] && !attrs['message'];
return attrs['chat_state'] && !attrs['oob_url'] && !attrs['file'] && !
(attrs['is_encrypted'] && attrs['plaintext']) && !
attrs['message'];
};
u.isHeadlineMessage = function (_converse, message) {
src/converse-chatview.js
View file @
dfcc1d97
src/utils/core.js
View file @
dfcc1d97
...
...
@@ -602,6 +602,7 @@
return
attrs
[
'
chat_state
'
]
&&
!
attrs
[
'
oob_url
'
]
&&
!
attrs
[
'
file
'
]
&&
!
(
attrs
[
'
is_encrypted
'
]
&&
attrs
[
'
plaintext
'
])
&&
!
attrs
[
'
message
'
];
};
...
...
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