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

fix(widget):show unread messages notification

fix #3193
shows notification about unread messages from contacts that are not displayed in the current view
This commit is contained in:
PKEv 2016-04-29 00:29:47 +03:00
parent c1826125cb
commit c81e6e2dd1

View File

@ -1204,6 +1204,7 @@ bool Widget::newFriendMessageAlert(int friendId, bool sound)
{ {
f->setEventFlag(true); f->setEventFlag(true);
f->getFriendWidget()->updateStatusLight(); f->getFriendWidget()->updateStatusLight();
ui->friendList->trackWidget(f->getFriendWidget());
if (contentDialog == nullptr) if (contentDialog == nullptr)
{ {