From 8ac2c5d6d74eef955ddcab431f0b371cb4abb437 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 12 Oct 2017 14:20:23 -0400 Subject: [PATCH] fix recording ready email for 2.0 --- scripts/greenlight_recording_notify.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/greenlight_recording_notify.rb b/scripts/greenlight_recording_notify.rb index 470bfa0e..682b925c 100755 --- a/scripts/greenlight_recording_notify.rb +++ b/scripts/greenlight_recording_notify.rb @@ -49,7 +49,7 @@ def getParticipantsInfo(events_xml) end 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 # Gets the join and leave times for each user, as well as total duration of stay.