Added fix for Live Events not being detected as 'In a call'

pull/22/head
EBOOZ 4 years ago
parent 3aa916e20b
commit e168739cd2

@ -135,13 +135,16 @@ If ($null -ne $TeamsProcess) {
} }
If ($TeamsActivity -like "*Resuming daemon App updates*" -or ` If ($TeamsActivity -like "*Resuming daemon App updates*" -or `
$TeamsActivity -like "*SfB:TeamsNoCall*") { $TeamsActivity -like "*SfB:TeamsNoCall*" -or `
$TeamsStatus -like "*current state: OnThePhone -> *") {
$Activity = $lgNotInACall $Activity = $lgNotInACall
$ActivityIcon = $iconNotInACall $ActivityIcon = $iconNotInACall
Write-Host $Activity Write-Host $Activity
} }
ElseIf ($TeamsActivity -like "*Pausing daemon App updates*" -or ` ElseIf ($TeamsActivity -like "*Pausing daemon App updates*" -or `
$TeamsActivity -like "*SfB:TeamsActiveCall*") { $TeamsActivity -like "*SfB:TeamsActiveCall*" -or `
$TeamsStatus -like "*Setting the taskbar overlay icon - $lgOnThePhone*" -or `
$TeamsStatus -like "*StatusIndicatorStateService: Added OnThePhone*") {
$Activity = $lgInACall $Activity = $lgInACall
$ActivityIcon = $iconInACall $ActivityIcon = $iconInACall
Write-Host $Activity Write-Host $Activity

Loading…
Cancel
Save