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:
parent
c1826125cb
commit
c81e6e2dd1
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user