diff --git a/bigbluebutton-html5/imports/ui/components/components-data/users-context/adapter.jsx b/bigbluebutton-html5/imports/ui/components/components-data/users-context/adapter.jsx index cb4f3cdfb8..dfa32a6eb3 100644 --- a/bigbluebutton-html5/imports/ui/components/components-data/users-context/adapter.jsx +++ b/bigbluebutton-html5/imports/ui/components/components-data/users-context/adapter.jsx @@ -1,5 +1,6 @@ import { useContext, useEffect } from 'react'; -import Users, { CurrentUser } from '/imports/api/users'; +import { CurrentUser } from '/imports/api/users'; +import Users from '/imports/api/users'; import UsersPersistentData from '/imports/api/users-persistent-data'; import { UsersContext, ACTIONS } from './context'; import ChatLogger from '/imports/ui/components/chat/chat-logger/ChatLogger'; @@ -29,15 +30,7 @@ const Adapter = () => { }, }); }, - removed: (obj) => { - ChatLogger.debug('usersAdapter::observe::removed', obj); - dispatch({ - type: ACTIONS.REMOVED, - value: { - user: obj, - }, - }); - }, + removed: () => {}, }); }, []);