Commit 34e2cfc1 authored by JC Brand's avatar JC Brand

Merge branch 'master' into roster_refactor

parents 937e1d3d 50f4d6b5
...@@ -122,7 +122,7 @@ module.exports = function(grunt) { ...@@ -122,7 +122,7 @@ module.exports = function(grunt) {
done(); done();
}; };
var rjsext = (process.platform === 'win32') ? '.cmd' : ''; var rjsext = (process.platform === 'win32') ? '.cmd' : '';
var rjs = path.resolve('./node_modules/.bin/r.js' + rjsext); var rjs = '"' + path.resolve('./node_modules/.bin/r.js' + rjsext) + '"';
exec(rjs + ' -o src/build.js && ' + exec(rjs + ' -o src/build.js && ' +
rjs + ' -o src/build.js optimize=none out=builds/converse.js && ' + rjs + ' -o src/build.js optimize=none out=builds/converse.js && ' +
rjs + ' -o src/build-no-jquery.js &&' + rjs + ' -o src/build-no-jquery.js &&' +
......
...@@ -1501,6 +1501,7 @@ ...@@ -1501,6 +1501,7 @@
}, },
updateVCard: function () { updateVCard: function () {
if (!this.use_vcards) { return; }
var jid = this.model.get('jid'), var jid = this.model.get('jid'),
contact = converse.roster.get(jid); contact = converse.roster.get(jid);
if ((contact) && (!contact.get('vcard_updated'))) { if ((contact) && (!contact.get('vcard_updated'))) {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<!-- until here --> <!-- until here -->
<script type="text/javascript" src="components/otr/build/dep/eventemitter.js"></script> <script type="text/javascript" src="components/otr/build/dep/eventemitter.js"></script>
<script type="text/javascript" src="src/otr.js"></script> <script type="text/javascript" src="src/otr.js"></script>
<script type="text/javascript" src="components/strophe/strophe.min.js"></script> <script type="text/javascript" src="components/strophejs/strophe.js"></script>
<script type="text/javascript" src="src/strophe.roster.js"></script> <script type="text/javascript" src="src/strophe.roster.js"></script>
<script type="text/javascript" src="components/strophejs-plugins/vcard/strophe.vcard.js"></script> <script type="text/javascript" src="components/strophejs-plugins/vcard/strophe.vcard.js"></script>
<script type="text/javascript" src="components/strophejs-plugins/disco/strophe.disco.js"></script> <script type="text/javascript" src="components/strophejs-plugins/disco/strophe.disco.js"></script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment