Facebook isn't a problem after all !
authorveltr
Mon, 13 May 2013 18:08:25 +0200
changeset 69 4265db059697
parent 68 308c6ad11eab
child 70 7c2a81e5d027
Facebook isn't a problem after all !
integ/iri/js/iri-buzz.js
--- a/integ/iri/js/iri-buzz.js	Mon May 13 15:39:20 2013 +0200
+++ b/integ/iri/js/iri-buzz.js	Mon May 13 18:08:25 2013 +0200
@@ -395,7 +395,7 @@
                     a._viztime = originalTimeToVizTime(a._timestamp);
                     a._movie = movie.id;
                     a._column = movie.column;
-                    a._avatar = ((typeof a.actor.user.avatar === "undefined" || /https?:\/\/graph\.facebook\.com/.test(a.actor.user.avatar.href)) ? "http://fr.web.img6.acsta.net/r_50_x/commons/emptymedia/AvatarAllocineMr.gif" : resizeAcPicture( a.actor.user.avatar, 50, "x" ));
+                    a._avatar = ((typeof a.actor.user.avatar === "undefined") ? "http://fr.web.img6.acsta.net/r_50_x/commons/emptymedia/AvatarAllocineMr.gif" : resizeAcPicture( a.actor.user.avatar, 50, "x" ));
                     a._content = ( a.action.type === "userreview" ? a.content.$ : (a.action.type === "wanttosee" ? "veut voir ce film." : "" ) ).replace(/[\n\r\s]+/mg,' ');
                 });
                 var tokcount = tokens.length;