From 7e451cc23ed5e0cc557c3c215baeac715e49e984 Mon Sep 17 00:00:00 2001 From: TheSpiritXIII Date: Tue, 9 Jun 2015 11:29:47 -0400 Subject: [PATCH] Don't track active chatrooms for notifications --- src/widget/widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widget/widget.cpp b/src/widget/widget.cpp index 75770c367..af708404d 100644 --- a/src/widget/widget.cpp +++ b/src/widget/widget.cpp @@ -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()