diff --git a/bigbluebutton-html5/imports/ui/components/app/container.jsx b/bigbluebutton-html5/imports/ui/components/app/container.jsx index 784de29afdc44096efde32faa22e758f9a9a2dca..2670571cb2af1d4f9deb8d0c42c215ab6af31abb 100755 --- a/bigbluebutton-html5/imports/ui/components/app/container.jsx +++ b/bigbluebutton-html5/imports/ui/components/app/container.jsx @@ -65,6 +65,7 @@ const AppContainer = (props) => { navbar={navbar} actionsbar={actionsbar} media={media} + currentUserId={currentUserId} {...otherProps} /> : null diff --git a/bigbluebutton-html5/imports/ui/services/auth/index.js b/bigbluebutton-html5/imports/ui/services/auth/index.js index ea98f8cb26a35d373295abbc40847d15fab1a070..3790d29142d74c4406254af48d736ed24554152a 100755 --- a/bigbluebutton-html5/imports/ui/services/auth/index.js +++ b/bigbluebutton-html5/imports/ui/services/auth/index.js @@ -231,7 +231,11 @@ class Auth { Tracker.autorun((c) => { computation = c; - const authenticationTokenValidation = AuthTokenValidation.findOne({}, { sort: { updatedAt: -1 } }); + const selector = { + connectionId: Meteor.connection._lastSessionId, + }; + + const authenticationTokenValidation = AuthTokenValidation.findOne(selector); if (!authenticationTokenValidation) return;