bugfix
This commit is contained in:
parent
4a70176da0
commit
989beec472
|
@ -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
|
||||||
$.each(window.allBlocking,function(){
|
if(typeof window.allBlocking != 'undefined') {
|
||||||
if(this == obj.user.id){
|
$.each(window.allBlocking,function(){
|
||||||
extraClassesThisRun = extraClassesThisRun + ' profile-blocked-by-me';
|
if(this == obj.user.id){
|
||||||
return false; // break
|
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
|
// if we have the full html for a truncated notice cached in localstorage, we use that
|
||||||
|
|
Loading…
Reference in New Issue
Block a user