fixes screenshare toast - issue: #10982

This commit is contained in:
Mohamed Amine Ben Salah 2020-12-07 11:10:54 -03:00
parent 778cc08fd6
commit 06e28f37bf

View File

@ -64,7 +64,7 @@ class MediaContainer extends Component {
} = prevProps;
if (isScreensharing !== wasScreenSharing) {
if (wasScreenSharing) {
if (!wasScreenSharing) {
notify(intl.formatMessage(intlMessages.screenshareStarted), 'info', 'desktop');
} else {
notify(intl.formatMessage(intlMessages.screenshareEnded), 'info', 'desktop');