Enable mic back in Core when last call is ended while it was muted
This commit is contained in:
parent
bf96016c32
commit
ad2f2a98df
1 changed files with 4 additions and 0 deletions
|
@ -219,6 +219,10 @@ class CoreContext(val context: Context, coreConfig: Config) {
|
|||
override fun onLastCallEnded(core: Core) {
|
||||
Log.i("[Context] Last call has ended")
|
||||
removeCallOverlay()
|
||||
if (!core.isMicEnabled) {
|
||||
Log.w("[Context] Mic was muted in Core, enabling it back for next call")
|
||||
core.isMicEnabled = true
|
||||
}
|
||||
}
|
||||
|
||||
override fun onMessageReceived(core: Core, chatRoom: ChatRoom, message: ChatMessage) {
|
||||
|
|
Loading…
Reference in a new issue