Clean up now unused function in group model
This commit is contained in:
parent
329f721998
commit
f2e37b8cff
@ -106,16 +106,6 @@ export class Group implements Movable {
|
||||
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 {
|
||||
// Broadcast on the right event
|
||||
this.connectCallback(user, this);
|
||||
|
Loading…
Reference in New Issue
Block a user