parent
3a0857b4bf
commit
30685b2709
1 changed files with 9 additions and 17 deletions
|
|
@ -8,7 +8,6 @@ $(document).ready(function() {
|
|||
var jid = app.currentUser.get('diaspora_id');
|
||||
jsxc.init({
|
||||
root: '/assets/diaspora_jsxc',
|
||||
checkFlash: false,
|
||||
logoutElement: $('.user-menu-item [data-method=delete]'),
|
||||
rosterAppend: 'body',
|
||||
otr: {
|
||||
|
|
@ -24,11 +23,6 @@ $(document).ready(function() {
|
|||
displayRosterMinimized: function() {
|
||||
return true;
|
||||
},
|
||||
loginForm: {
|
||||
form: '#jsxc_loginForm'
|
||||
},
|
||||
loadSettings: function() {
|
||||
return {
|
||||
xmpp: {
|
||||
url: $('script#jsxc').data('endpoint'),
|
||||
username: jid.replace(/@.*?$/g, ''),
|
||||
|
|
@ -39,8 +33,6 @@ $(document).ready(function() {
|
|||
overwrite: true,
|
||||
onlogin: true
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
} else {
|
||||
console.error('No token found! Authenticated!?');
|
||||
|
|
|
|||
Loading…
Reference in a new issue