Clean up now unused function in group model
This commit is contained in:
parent
329f721998
commit
f2e37b8cff
1 changed files with 0 additions and 10 deletions
|
@ -106,16 +106,6 @@ export class Group implements Movable {
|
||||||
return this.users.size <= 1;
|
return this.users.size <= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
includes(user: User): boolean {
|
|
||||||
let found = false;
|
|
||||||
this.users.forEach((currentUser: User) => {
|
|
||||||
if (currentUser.id === user.id) {
|
|
||||||
found = true;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
return found;
|
|
||||||
}
|
|
||||||
|
|
||||||
join(user: User): void {
|
join(user: User): void {
|
||||||
// Broadcast on the right event
|
// Broadcast on the right event
|
||||||
this.connectCallback(user, this);
|
this.connectCallback(user, this);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue