- don't force changing listen only status on mute and talking events
This commit is contained in:
parent
73493f1345
commit
11c7287d26
@ -37,7 +37,6 @@ object VoiceUsers {
|
||||
} yield {
|
||||
val vu = u.modify(_.muted).setTo(muted)
|
||||
.modify(_.talking).setTo(false)
|
||||
.modify(_.listenOnly).setTo(false)
|
||||
users.save(vu)
|
||||
vu
|
||||
}
|
||||
@ -49,7 +48,6 @@ object VoiceUsers {
|
||||
} yield {
|
||||
val vu = u.modify(_.muted).setTo(false)
|
||||
.modify(_.talking).setTo(talkng)
|
||||
.modify(_.listenOnly).setTo(false)
|
||||
users.save(vu)
|
||||
vu
|
||||
}
|
||||
@ -61,7 +59,6 @@ object VoiceUsers {
|
||||
} yield {
|
||||
val vu = u.modify(_.muted).setTo(true)
|
||||
.modify(_.talking).setTo(false)
|
||||
.modify(_.listenOnly).setTo(true)
|
||||
users.save(vu)
|
||||
vu
|
||||
}
|
||||
@ -73,7 +70,6 @@ object VoiceUsers {
|
||||
} yield {
|
||||
val vu = u.modify(_.muted).setTo(false)
|
||||
.modify(_.talking).setTo(false)
|
||||
.modify(_.listenOnly).setTo(false)
|
||||
users.save(vu)
|
||||
vu
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user