fix: speak icon when stream with sound started
This commit is contained in:
parent
68daf93224
commit
05c15e9384
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ onceReady.then(() => {
|
||||||
const userID = UserStore.getCurrentUser().id;
|
const userID = UserStore.getCurrentUser().id;
|
||||||
|
|
||||||
FluxDispatcher.subscribe("SPEAKING", params => {
|
FluxDispatcher.subscribe("SPEAKING", params => {
|
||||||
if (params.userId === userID) {
|
if (params.userId === userID && params.context === "default") {
|
||||||
if (params.speakingFlags) {
|
if (params.speakingFlags) {
|
||||||
VesktopNative.tray.setIcon("speaking");
|
VesktopNative.tray.setIcon("speaking");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue