Browse files

Add JSON.parse to convert method in JsonOverXMLRPC protocol

  • Loading branch information...
1 parent 0d09b8f commit b1467c59e2fc32be54aceab139a7b373f9933d11 @jinroh committed Jun 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/network/protocol/jsonoverxmlrpc.js
View
2 lib/network/protocol/jsonoverxmlrpc.js
@@ -19,7 +19,7 @@ var _convertFromEmbededJson = function(obj) {
if (!obj)
return null;
- return obj.textContent;
+ return JSON.parse(obj.textContent);
};
var _decodeRequestMessage = function(iq) {

0 comments on commit b1467c5

Please sign in to comment.