Return null

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-08-02 23:51:19 +05:30
parent e363d32921
commit c9a4c393ed

View file

@ -233,7 +233,7 @@ export class BaseRoom extends EventEmitter {
hsApi: this._hsApi
}, this._platform.logger);
if (!member) {
return false;
return null;
}
const observableMember = new RetainedObservableValue(member, () => this._observedMembers.delete(userId));
this._observedMembers.set(userId, observableMember);