This commit is contained in:
Hannes Mannerheim 2015-11-18 21:15:43 +01:00
parent 4a70176da0
commit 989beec472

View File

@ -1470,6 +1470,7 @@ function addToFeed(feed, after, extraClasses, isReply) {
feed = [feed]; feed = [feed];
} }
$.each(feed.reverse(), function (key,obj) { $.each(feed.reverse(), function (key,obj) {
var extraClassesThisRun = extraClasses; var extraClassesThisRun = extraClasses;
@ -1840,12 +1841,14 @@ function addToFeed(feed, after, extraClasses, isReply) {
function buildQueetHtml(obj, idInStream, extraClassesThisRun, requeeted_by, isConversation) { function buildQueetHtml(obj, idInStream, extraClassesThisRun, requeeted_by, isConversation) {
// if we've blocked this user, but it has slipped through anyway // if we've blocked this user, but it has slipped through anyway
if(typeof window.allBlocking != 'undefined') {
$.each(window.allBlocking,function(){ $.each(window.allBlocking,function(){
if(this == obj.user.id){ if(this == obj.user.id){
extraClassesThisRun = extraClassesThisRun + ' profile-blocked-by-me'; extraClassesThisRun = extraClassesThisRun + ' profile-blocked-by-me';
return false; // break return false; // break
} }
}); });
}
// if we have the full html for a truncated notice cached in localstorage, we use that // if we have the full html for a truncated notice cached in localstorage, we use that