fix recording ready email for 2.0

This commit is contained in:
Josh 2017-10-12 14:20:23 -04:00
parent 3036e3d470
commit 8ac2c5d6d7
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ def getParticipantsInfo(events_xml)
end end
def get_id_from_event(event) def get_id_from_event(event)
(event.xpath('externalUserId').empty?) ? event.xpath('userId').text.split('_')[0] : event.xpath('externalUserId').text (event.xpath('externalUserId').empty?) ? event.xpath('userId').text : event.xpath('externalUserId').text
end end
# Gets the join and leave times for each user, as well as total duration of stay. # Gets the join and leave times for each user, as well as total duration of stay.