CIRCDCC.findByID Member

Syntax

object.findByID(id);

Arguments

ArgumentSummary
id

Returns

Remarks

See Also

Source Code

function dcc_findbyid(id)
{
if (typeof id != "string")
return null;
var i;
for (i = 0; i < this.chats.length; i++)
{
if (this.chats[i].id == id)
return this.chats[i];
}
for (i = 0; i < this.files.length; i++)
{
if (this.files[i].id == id)
return this.files[i];
}
return null;
}