Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@yaizudamashii
Created August 11, 2021 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaizudamashii/8fbdf0420283bf6e23295d7d5155d18c to your computer and use it in GitHub Desktop.
Save yaizudamashii/8fbdf0420283bf6e23295d7d5155d18c to your computer and use it in GitHub Desktop.
bool isParticipating() {
if (this.currentUser == null) {
return false;
}
return room.speakerRefs.map((ref) => ref.id).contains(currentUser.identifier);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment