Fix removing reconnect indicator from usernames when counting participants
This commit is contained in:
parent
fdaf29ad85
commit
26f5450245
@ -36,11 +36,11 @@ module BigBlueButton
|
||||
userId = joinEvent.at_xpath("userId").text
|
||||
|
||||
#removing "_N" at the end of userId
|
||||
userId.gsub(/_\d*$/, "")
|
||||
userId.gsub!(/_\d*$/, "")
|
||||
|
||||
participants_ids.add(userId)
|
||||
end
|
||||
return participants_ids.length
|
||||
participants_ids.length
|
||||
end
|
||||
|
||||
# Get the meeting metadata
|
||||
|
Loading…
Reference in New Issue
Block a user