bug fix: "added an indicator that another client has muted me" does not work as expected

This commit is contained in:
Volker Fischer 2020-05-21 21:01:01 +02:00
parent 7a7cfe53fe
commit be04c665ff

View file

@ -1321,10 +1321,10 @@ void CServer::CreateOtherMuteStateChanged ( const int iCurChanID,
const int iOtherChanID, const int iOtherChanID,
const bool bIsMuted ) const bool bIsMuted )
{ {
if ( vecChannels[iCurChanID].IsConnected() ) if ( vecChannels[iOtherChanID].IsConnected() )
{ {
// send message // send message
vecChannels[iCurChanID].CreateMuteStateHasChangedMes ( iOtherChanID, bIsMuted ); vecChannels[iOtherChanID].CreateMuteStateHasChangedMes ( iCurChanID, bIsMuted );
} }
} }