feat: logout route and button
This commit is contained in:
@@ -117,6 +117,16 @@ gestureIteration:
|
||||
r.CurrentSpeaker = nextSpeakerId
|
||||
}
|
||||
|
||||
func (r *Room) PersonToStandUpFromTable(p PersonId) {
|
||||
r.ReleaseHand(p)
|
||||
if slices.Contains(r.Paricipants, p) {
|
||||
updated := slices.DeleteFunc(r.Paricipants, func(sittingPerson PersonId) bool {
|
||||
return sittingPerson == p
|
||||
})
|
||||
r.Paricipants = updated
|
||||
}
|
||||
}
|
||||
|
||||
// find place to start - separate function
|
||||
// current speaker level, searched gesture level, room marks
|
||||
// if search level >= current speaker start from speaker
|
||||
|
||||
Reference in New Issue
Block a user