Fixed bug: properly retrieve selected contact when handling call action from address book.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5751 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
9ef7002392
commit
03b31b7281
|
@ -8119,8 +8119,10 @@ bool DefaultLogic::callContact(NamedList* params, Window* wnd)
|
|||
return false;
|
||||
NamedList dummy("");
|
||||
if (!params) {
|
||||
String sel;
|
||||
Client::self()->getSelect(s_contactList,sel);
|
||||
dummy.assign(sel);
|
||||
params = &dummy;
|
||||
Client::self()->getSelect(s_contactList,*params);
|
||||
}
|
||||
if (!Client::self()->getTableRow(s_contactList,*params,params))
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue