We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit f5b00404 authored by Brion Vibber's avatar Brion Vibber

Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

parents 4b20d68c 80bd77ce
......@@ -964,11 +964,19 @@ class Notice extends Memcached_DataObject
function saveKnownReplies($uris)
if (empty($uris)) {
$sender = Profile::staticGet($this->profile_id);
foreach ($uris as $uri) {
$user = User::staticGet('uri', $uri);
if (!empty($user)) {
if ($user->hasBlocked($sender)) {
$reply = new Reply();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment