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

fix(widget): properly show status messages

Fixes #3123
This commit is contained in:
a68366 2016-04-25 16:40:20 +03:00
parent 24a7f4d519
commit dcb8c3f323

View File

@ -1018,9 +1018,7 @@ void Widget::onFriendStatusChanged(int friendId, Status status)
ContentDialog::updateFriendStatus(friendId); ContentDialog::updateFriendStatus(friendId);
//won't print the message if there were no messages before if (Settings::getInstance().getStatusChangeNotificationEnabled())
if (!f->getChatForm()->isEmpty()
&& Settings::getInstance().getStatusChangeNotificationEnabled())
{ {
QString fStatus = ""; QString fStatus = "";
switch (f->getStatus()) switch (f->getStatus())