parsing customdata xml

This commit is contained in:
Markos Calderon 2013-02-19 17:29:08 -05:00
parent cc1e40d61c
commit 2fc1e219b3

View File

@ -72,7 +72,15 @@ package org.bigbluebutton.main.model.users
role:xml.role, room:xml.room, authToken:xml.room, record:xml.record,
webvoiceconf:xml.webvoiceconf,
voicebridge:xml.voicebridge, mode:xml.mode, welcome:xml.welcome, logoutUrl:xml.logoutUrl,
defaultLayout:xml.defaultLayout, avatarURL:xml.avatarURL, customdata:xml.customdata};
defaultLayout:xml.defaultLayout, avatarURL:xml.avatarURL};
user.customdata = {};
if(xml.customdata)
{
for each(var cdnode:XML in xml.customdata.elements()){
LogUtil.debug("checking user customdata: "+cdnode.name() + " = " + cdnode);
user.customdata[cdnode.name()] = cdnode;
}
}
if (_resultListener != null) _resultListener(true, user);
}