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
4141a223
Commit
4141a223
authored
Aug 22, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new builds
parent
23a26cfd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1265 additions
and
348 deletions
+1265
-348
css/converse.css
css/converse.css
+1
-0
dist/converse-no-dependencies.js
dist/converse-no-dependencies.js
+1260
-342
dist/converse.js
dist/converse.js
+4
-6
No files found.
css/converse.css
View file @
4141a223
...
@@ -7481,6 +7481,7 @@ body.reset {
...
@@ -7481,6 +7481,7 @@ body.reset {
#conversejs
.chatbox
.sendXMPPMessage
.spoiler-hint
{
#conversejs
.chatbox
.sendXMPPMessage
.spoiler-hint
{
width
:
100%
;
}
width
:
100%
;
}
#conversejs
.chatbox
.sendXMPPMessage
.chat-textarea
{
#conversejs
.chatbox
.sendXMPPMessage
.chat-textarea
{
color
:
#666
;
border-top-left-radius
:
0
;
border-top-left-radius
:
0
;
border-top-right-radius
:
0
;
border-top-right-radius
:
0
;
border-bottom-right-radius
:
4px
;
border-bottom-right-radius
:
4px
;
...
...
dist/converse-no-dependencies.js
View file @
4141a223
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/converse.js
View file @
4141a223
...
@@ -69284,9 +69284,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
...
@@ -69284,9 +69284,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
* that contains the message stanza, if it was
* that contains the message stanza, if it was
* contained, otherwise it's the message stanza itself.
* contained, otherwise it's the message stanza itself.
*/
*/
const _converse = this.__super__._converse,
const archive = sizzle(`result[xmlns="${Strophe.NS.MAM}"]`, original_stanza).pop(),
__ = _converse.__,
archive = sizzle(`result[xmlns="${Strophe.NS.MAM}"]`, original_stanza).pop(),
spoiler = sizzle(`spoiler[xmlns="${Strophe.NS.SPOILER}"]`, original_stanza).pop(),
spoiler = sizzle(`spoiler[xmlns="${Strophe.NS.SPOILER}"]`, original_stanza).pop(),
delay = sizzle(`delay[xmlns="${Strophe.NS.DELAY}"]`, original_stanza).pop(),
delay = sizzle(`delay[xmlns="${Strophe.NS.DELAY}"]`, original_stanza).pop(),
chat_state = stanza.getElementsByTagName(_converse.COMPOSING).length && _converse.COMPOSING || stanza.getElementsByTagName(_converse.PAUSED).length && _converse.PAUSED || stanza.getElementsByTagName(_converse.INACTIVE).length && _converse.INACTIVE || stanza.getElementsByTagName(_converse.ACTIVE).length && _converse.ACTIVE || stanza.getElementsByTagName(_converse.GONE).length && _converse.GONE;
chat_state = stanza.getElementsByTagName(_converse.COMPOSING).length && _converse.COMPOSING || stanza.getElementsByTagName(_converse.PAUSED).length && _converse.PAUSED || stanza.getElementsByTagName(_converse.INACTIVE).length && _converse.INACTIVE || stanza.getElementsByTagName(_converse.ACTIVE).length && _converse.ACTIVE || stanza.getElementsByTagName(_converse.GONE).length && _converse.GONE;
...
@@ -70082,7 +70080,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
...
@@ -70082,7 +70080,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
},
},
render() {
render() {
this.el.innerHTML = tpl_chatbox_head(_.extend(this.model.
toJSON(), this.model.vcard
.toJSON(), {
this.el.innerHTML = tpl_chatbox_head(_.extend(this.model.
vcard.toJSON(), this.model
.toJSON(), {
'_converse': _converse,
'_converse': _converse,
'info_close': __('Close this chat box')
'info_close': __('Close this chat box')
}));
}));
...
@@ -82229,7 +82227,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
...
@@ -82229,7 +82227,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
},
},
getDisplayName() {
getDisplayName() {
return this.vcard.get('fullname') || this.get('jid');
return this.
get('nickname') || this.vcard.get('nickname') || this.
vcard.get('fullname') || this.get('jid');
},
},
getFullname() {
getFullname() {
...
@@ -85092,7 +85090,7 @@ __e(o.url) +
...
@@ -85092,7 +85090,7 @@ __e(o.url) +
'" target="_blank" rel="noopener" class="user">\n ';
'" target="_blank" rel="noopener" class="user">\n ';
} ;
} ;
__p += '\n ' +
__p += '\n ' +
__e( o.fullname || o.jid ) +
__e( o.
nickname || o.
fullname || o.jid ) +
'\n ';
'\n ';
if (o.url) { ;
if (o.url) { ;
__p += '\n </a>\n ';
__p += '\n </a>\n ';
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