notice.is_local can be -1 for silenced remote users, we can't use that for determining if a notice is local. use user.is_local instead
This commit is contained in:
parent
b1852c79c0
commit
35f6515cab
|
@ -2112,7 +2112,7 @@ function buildQueetHtml(obj, idInStream, extraClasses, requeeted_by, isConversat
|
|||
|
||||
// external
|
||||
var ostatusHtml = '';
|
||||
if(obj.is_local === false) {
|
||||
if(obj.user.is_local === false) {
|
||||
ostatusHtml = '<a target="_blank" data-tooltip="' + window.sL.goToOriginalNotice + '" class="ostatus-link" href="' + obj.external_url + '"></a>';
|
||||
var qSource = '<a href="' + obj.external_url + '">' + getHost(obj.external_url) + '</a>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user