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