Browse Source

Removed debug.

pull/100/head
Simon Eisenmann 12 years ago
parent
commit
ca382b906c
  1. 6
      static/js/services/buddydata.js

6
static/js/services/buddydata.js

@ -136,9 +136,9 @@ define(['underscore'], function(underscore) {
// Fetch with help of session attestation token. // Fetch with help of session attestation token.
fake = fakes[id] = {}; fake = fakes[id] = {};
var token = attestations[id].a; var token = attestations[id].a;
console.log("attestation request", id); //console.log("attestation request", id);
mediaStream.api.sendSessions(token, "session", function(event, type, data) { mediaStream.api.sendSessions(token, "session", function(event, type, data) {
console.log("attestation session response", id, type, data); //console.log("attestation session response", id, type, data);
if (data.Users && data.Users.length > 0) { if (data.Users && data.Users.length > 0) {
var s = data.Users[0]; var s = data.Users[0];
fake.display = { fake.display = {
@ -200,7 +200,7 @@ define(['underscore'], function(underscore) {
} }
} }
if (create) { if (create) {
console.log("Created attestation entry", from); //console.log("Created attestation entry", from);
attestations[from] = { attestations[from] = {
a: attestation, a: attestation,
t: (new Date().getTime()) t: (new Date().getTime())

Loading…
Cancel
Save