Fixed bug: update all contact items in the tree when groups list didn't changed.

git-svn-id: http://voip.null.ro/svn/yate@4059 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2011-01-24 11:13:01 +00:00
parent b3dbbffda4
commit 08f4ea7f88
1 changed files with 1 additions and 1 deletions

View File

@ -1163,7 +1163,7 @@ bool ContactList::updateContact(const String& id, const NamedList& params,
name().c_str(),id.c_str(),TelEngine::c_safe(groups));
if (!groups || m_flatList) {
// No group changes or not shown by group. Update all contacts
for (int i = 0; !found && i < list.size(); i++)
for (int i = 0; i < list.size(); i++)
if (list[i]->type() == TypeContact && list[i]->id() == id) {
ok = updateContact(*(static_cast<ContactItem*>(list[i])),params) || ok;
found = true;