Selaa lähdekoodia

Update changes

JC Brand 12 vuotta sitten
vanhempi
commit
7f4206e9b2
2 muutettua tiedostoa jossa 6 lisäystä ja 8 poistoa
  1. 3 4
      CHANGES.rst
  2. 3 4
      main.js

+ 3 - 4
CHANGES.rst

@@ -3,8 +3,7 @@ Changelog
 
 0.1 - Unreleased
 ----------------
-- Further performance enhancements and general script cleanup, see pull request 
-  6 for details [ichim-david]
-- Concieved and created [jcbrand]
-- Performance enhancements for rosters [ichim-david]
+- Add vCard support [jcbrand]
+- Performance enhancements and general script cleanup [ichim-david]
 - Add "Connecting to chat..." info [alecghica]
+- Concieved and created [jcbrand]

+ 3 - 4
main.js

@@ -8,16 +8,15 @@ require(["jquery", "converse"], function($) {
             buttons: {
                 "Connect": function () {
                     $(document).trigger('connect', {
-                        jid: $('#jid').val(),
-                        password: $('#password').val(),
-                        bosh_service_url: $('#bosh_service_url').val()
+                        jid: 'opkode@jappix.com',
+                        password: 'jpwagw00rd!',
+                        bosh_service_url: 'https://bind.jappix.com/' 
                     });
                     $('#password').val('');
                     $(this).dialog('close');
                 }
             }
         });
-
         $(document).bind('connect', function (ev, data) {
             var connection = new Strophe.Connection(data.bosh_service_url);