We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When i using muc plugin in IE, i has serious problem with unsupported attributes.
In code: XmppRoom._parsePresence = function(pres) { var a, c, c2, data, _i, _j, _len, _len1, _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7; data = {}; a = pres.attributes; data.nick = Strophe.getResourceFromJid(a.from.textContent); data.type = ((_ref = a.type) != null ? _ref.textContent : void 0) || null; Result
XmppRoom._parsePresence = function(pres) { var a, c, c2, data, _i, _j, _len, _len1, _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7; data = {}; a = pres.attributes; data.nick = Strophe.getResourceFromJid(a.from.textContent); data.type = ((_ref = a.type) != null ? _ref.textContent : void 0) || null;
In IE "a.from" is not supported ! "textContent" is not supported too !
I make some workaround this problem:
var from = (a.from != null) ? a.from.textContent : a[2].nodeValue; data.nick = Strophe.getResourceFromJid(from);
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When i using muc plugin in IE, i has serious problem with unsupported attributes.
In code:
XmppRoom._parsePresence = function(pres) {
var a, c, c2, data, _i, _j, _len, _len1, _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
data = {};
a = pres.attributes;
data.nick = Strophe.getResourceFromJid(a.from.textContent);
data.type = ((_ref = a.type) != null ? _ref.textContent : void 0) || null;
Result
In IE "a.from" is not supported !
"textContent" is not supported too !
I make some workaround this problem:
Thanks
The text was updated successfully, but these errors were encountered: