1
0
Fork 0

added spaces + some curly braces

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-01-26 16:01:56 +01:00
parent 1de8e31df6
commit f7ceea7a85
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -395,7 +395,7 @@ function visible_activity($item) {
} }
if (activity_match($item['verb'], ACTIVITY_FOLLOW) && $item['object-type'] === ACTIVITY_OBJ_NOTE) { if (activity_match($item['verb'], ACTIVITY_FOLLOW) && $item['object-type'] === ACTIVITY_OBJ_NOTE) {
if (!($item['self'] && ($item['uid'] == local_user()))) { if (!(x($item, 'self') && ($item['uid'] == local_user()))) {
return false; return false;
} }
} }