Merge remote-tracking branch 'upstream/develop' into more-privacy
This commit is contained in:
commit
0ea93bfba1
|
@ -1381,8 +1381,6 @@ class Conversation
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$threadsid++;
|
|
||||||
|
|
||||||
// prevent private email from leaking.
|
// prevent private email from leaking.
|
||||||
if ($item['network'] === Protocol::MAIL && $this->session->getLocalUserId() != $item['uid']) {
|
if ($item['network'] === Protocol::MAIL && $this->session->getLocalUserId() != $item['uid']) {
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -338,7 +338,7 @@ class Create extends BaseModule
|
||||||
'$category' => $category,
|
'$category' => $category,
|
||||||
'$rules' => $rules ?? [],
|
'$rules' => $rules ?? [],
|
||||||
'$comment' => BBCode::convertForUriId($contact['uri-id'] ?? 0, $this->session->get('report_comment') ?? '', BBCode::EXTERNAL),
|
'$comment' => BBCode::convertForUriId($contact['uri-id'] ?? 0, $this->session->get('report_comment') ?? '', BBCode::EXTERNAL),
|
||||||
'$posts' => count($request['uri-ids']),
|
'$posts' => count($request['uri-ids'] ?? []),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue