Skip to content

Commit

Permalink
Do not add your own user id to the contact list
Browse files Browse the repository at this point in the history
  • Loading branch information
ycinar committed Jun 20, 2013
1 parent 5aa28d6 commit 81b1533
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,9 @@ <h1>Welcome to your Video streaming site, {{ me }}</h1>
for (i=0; i< usernames.length; i++) {
var row = table.insertRow(0);
var cell = row.insertCell(0);
cell.innerHTML = "<button onclick=\"CallContact(\'" + usernames[i] + "\')\">" + usernames[i] + "</button>";
if (usernames[i] != {{ me }} ) {
cell.innerHTML = "<button onclick=\"CallContact(\'" + usernames[i] + "\')\">" + usernames[i] + "</button>";
}
}
}

Expand Down

0 comments on commit 81b1533

Please sign in to comment.