From f59e1239b19aa2eb83dccc30528b0c8dcd8cd18f Mon Sep 17 00:00:00 2001 From: mscdex Date: Sat, 6 Jul 2013 23:46:36 -0400 Subject: [PATCH] Connection: do not filter box attribs --- lib/Connection.js | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/lib/Connection.js b/lib/Connection.js index 31dd13a..e9892b9 100644 --- a/lib/Connection.js +++ b/lib/Connection.js @@ -1023,15 +1023,11 @@ Connection.prototype._resUntagged = function(info) { this._curReq.cbargs.push({}); box = { - attribs: info.text.flags.map(function(attr) { - return attr.substr(1); - }).filter(function(attr) { - return (attr.toUpperCase() !== 'HASNOCHILDREN'); - }), - delimiter: info.text.delimiter, - children: null, - parent: null - }; + attribs: info.text.flags, + delimiter: info.text.delimiter, + children: null, + parent: null + }; var name = info.text.name, curChildren = this._curReq.cbargs[0];