bigbluebutton-Github/bigbluebutton-html5
Mario Jr 8036ce71b1 Fix audio and push alerts for user join
When validating tokens, the dummyUser created at the beginning is set
with validated=true. This means there won't be the state change that used
to occur from validated:false to validated:true (which detects the moment
joined the meeting) , therefore the alert code that expects for this change
won't run.
To fix this for audio alerts, we now detect when user join by observing
additions in Users's collection. This is actually good because we start
observing this only once (in componentDidMount), differently we used to do,
by calling this every time the tracker was activated.

To distinguish between the user addition that initially populates user's
collection from those that happens after user join (which are the ones we
want), we store the initial state (at componentDidMount) and compare it
with new additions. If the user added is present at the initial state,
then it is an addition to populates the collection, otherwise this is a real
user addition (happened after user joined the meeting)

Partially fixes #11399
2021-03-02 08:43:56 -03:00
..
.meteor updated Meteor from 1.10.1 to 1.10.2 2020-07-17 15:07:37 +00:00
client Fix hit area of more message bellow and css recalc 2021-02-01 19:12:04 -03:00
dev_local_deployment Added deploy_to_usr_share.sh to override locally bbb-html5 2021-02-16 15:59:01 +00:00
imports Fix audio and push alerts for user join 2021-03-02 08:43:56 -03:00
private Remove extra period 2021-02-25 10:04:39 -05:00
public Merge 2.2.29 and 2.2.30 into 2.3.x 2020-11-24 15:13:09 +00:00
server Create ClientConnections structure and auth-token-validation collection 2020-09-01 09:07:56 -03:00
tests CI presettings: part 1 - set page.viewPort && export visual regressions testing media files (#11422) 2021-02-26 12:49:52 -05:00
.dockerignore
.eslintignore
.eslintrc.js Update for the WebdriverIO tests 2019-06-21 16:11:05 -04:00
.gitignore Pulled HTML5 locales April 17, 2020 2020-04-17 08:02:41 -04:00
deploy_to_usr_share.sh Added deploy_to_usr_share.sh to override locally bbb-html5 2021-02-16 15:59:01 +00:00
docker-entrypoint.sh
Dockerfile
Dockerfile.dev
package-lock.json multiple automated tests suites updates + add missing polling specs and move them with old ones to a polling test suite (#10766) 2021-02-16 15:57:10 -05:00
package.json Merge branch 'develop' into 2.3-alpha5-with-split-meteor-roles-10349 2021-02-16 16:09:20 -05:00
test-html5.sh
TRANSIFEX_PULL_INSTRUCTIONS.md move transifex instructions to the repo from docs 2019-07-30 10:27:30 -07:00
transifex.sh Tackled numerous incorrect usage of newLine and doubleQuotes in Transifex 2020-09-10 03:02:19 +00:00