Skip to content

Commit

Permalink
v0.7.6
Browse files Browse the repository at this point in the history
Signed-off-by: Valérian Saliou <valerian@valeriansaliou.name>
  • Loading branch information
valeriansaliou committed Oct 13, 2014
1 parent d46ccb7 commit 7d465c3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ JSJaCJingle.js Changelog
Here's the log of what has changed over the JSJaCJingle.js releases.


v0.8.0 (Development)
--------------------
v0.7.6 (Oct 13, 2014)
---------------------

* (...)
* **In a nutshell**
* **[XEP-0353](http://xmpp.org/extensions/xep-0353.html)** (full support) @valeriansaliou
* **WebRTC SDP messages parsing fixed** for Chrome 38+ @valeriansaliou


v0.7.5 (Oct 3, 2014)
Expand Down Expand Up @@ -134,4 +136,4 @@ v0.1.0 (Jun 27, 2013)
* **[XEP-0320](http://xmpp.org/extensions/xep-0320.html)** (full support) @valeriansaliou


**For more information about what changed through time, check the changes made to our source code on GitHub: https://github.com/valeriansaliou/jsjac-jingle/commits/master**
**For more information about what changed through time, check the changes made to our source code on GitHub: https://github.com/valeriansaliou/jsjac-jingle/commits/master**
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jsjac-jingle",
"description": "JSJaC Jingle library, implementation of XEP-0166.",
"version": "0.7.5",
"version": "0.7.6",
"homepage": "https://github.com/valeriansaliou/jsjac-jingle",
"license": "MPL 2.0",

Expand Down
11 changes: 7 additions & 4 deletions src/jsjac.jingle.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,10 @@ var __JSJaCJingleBase = ring.create(
},

function(e) {
if(_this.get_sdp_trace()) _this.get_debug().log('[JSJaCJingle:base] _peer_got_description > SDP (local:error)' + '\n\n' + (e.message || e.name || 'Unknown error'), 4);
var error_str = (typeof e == 'string') ? e : null;
error_str = (error_str || e.message || e.name || 'Unknown error');

if(_this.get_sdp_trace()) _this.get_debug().log('[JSJaCJingle:base] _peer_got_description > SDP (local:error)' + '\n\n' + error_str, 1);

// Error (descriptions are incompatible)
}
Expand Down Expand Up @@ -1035,8 +1038,8 @@ var __JSJaCJingleBase = ring.create(
* @returns {Array} Stanza handler
*/
get_registered_handlers: function(node, type, id) {
if(id && node in this._registered_handlers &&
type in this._registered_handlers[node] &&
if(id && node in this._registered_handlers &&
type in this._registered_handlers[node] &&
typeof this._registered_handlers[node][type][id] == 'object')
return this._registered_handlers[node][type][id];

Expand Down Expand Up @@ -1754,4 +1757,4 @@ var __JSJaCJingleBase = ring.create(
this._debug = debug;
},
}
);
);

0 comments on commit 7d465c3

Please sign in to comment.