[FIXES #16] Update LLSD library to 1.0.1 to fix boolean parsing. Bump to 0.5.7

This commit is contained in:
Casper Warden
2019-12-29 17:12:30 +00:00
parent 3abfe82a87
commit 647eb083ab
3 changed files with 27 additions and 37 deletions

View File

@@ -314,13 +314,16 @@ export class EventQueueClient
gcsale.isModerator = false;
gcsale.entered = (updObj['transition'] === 'ENTER');
if (updObj['can_voice_chat'] === true)
if (gcsale.entered && updObj['info'])
{
gcsale.canVoiceChat = true;
}
if (updObj['is_moderator'] === true)
{
gcsale.isModerator = true;
if (updObj['info']['can_voice_chat'] === true)
{
gcsale.canVoiceChat = true;
}
if (updObj['info']['is_moderator'] === true)
{
gcsale.isModerator = true;
}
}
this.clientEvents.onGroupChatAgentListUpdate.next(gcsale);
});
@@ -466,6 +469,7 @@ export class EventQueueClient
{
if (body.indexOf('<llsd>') !== -1)
{
console.log(body);
const parsed = LLSD.LLSD.parseXML(body);
resolve(parsed);
}