From 9457c2d391a37ed91bc51fa517186f1723cdc38d Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Thu, 2 Apr 2015 14:05:34 +0200 Subject: [PATCH] Removed obsolete code. --- static/js/services/buddylist.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/static/js/services/buddylist.js b/static/js/services/buddylist.js index 07e46768..563cf9cd 100644 --- a/static/js/services/buddylist.js +++ b/static/js/services/buddylist.js @@ -675,18 +675,8 @@ define(['jquery', 'angular', 'underscore', 'modernizr', 'avltree', 'text!partial // Find session with help of contact. if (contact && contact.Token) { mediaStream.api.sendSessions(contact.Token, "contact", function(event, type, data) { - //console.log("oooooooooooooooo", type, data); var tmpSessionData = null; if (data.Users && data.Users.length > 0) { - /* - _.each(data.Users, function(s) { - buddyData.set(s.Id, scope); - // NOTE(longsleep): Not sure if its a good idea to add the retrieved sessions here. - session.add(s.Id, s); - }); - sessionData = session.get(); - deferred.resolve(sessionData.Id); - */ tmpSessionData = data.Users[0]; } // Check if we got a session in the meantime.