Clean up now unused function in group model

This commit is contained in:
PizZaKatZe 2021-12-20 16:48:34 +01:00
parent 329f721998
commit f2e37b8cff

View file

@ -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);