Update selected contact's actions when its status changed.

git-svn-id: http://voip.null.ro/svn/yate@4061 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2011-01-24 14:57:20 +00:00
parent a57b721d36
commit 26f88f5539
1 changed files with 5 additions and 0 deletions

View File

@ -5611,6 +5611,11 @@ bool DefaultLogic::handleResourceNotify(Message& msg, bool& stopLogic)
}
// Update info window if displayed
updateContactInfo(c);
// Update chat actions in main contacts list (main window)
String sel;
Client::self()->getSelect(s_chatContactList,sel,Client::self()->getWindow(s_wndMain));
if (c->toString() == sel)
enableChatActions(c);
}
return false;
}