mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-18 00:06:57 +01:00
Return null
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
e363d32921
commit
c9a4c393ed
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user