1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Don't track active chatrooms for notifications

This commit is contained in:
TheSpiritXIII 2015-06-09 11:29:47 -04:00
parent df630da726
commit 7e451cc23e

View File

@ -800,7 +800,8 @@ void Widget::newMessageAlert(GenericChatroomWidget* chat)
Audio::playMono16Sound(sndData);
}
ui->friendList->trackWidget(chat);
if (activeChatroomWidget != chat)
ui->friendList->trackWidget(chat);
}
void Widget::playRingtone()