forked from GNUsocial/gnu-social
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
This commit is contained in:
commit
f5b00404d8
@ -964,11 +964,19 @@ class Notice extends Memcached_DataObject
|
||||
*/
|
||||
function saveKnownReplies($uris)
|
||||
{
|
||||
if (empty($uris)) {
|
||||
return;
|
||||
}
|
||||
$sender = Profile::staticGet($this->profile_id);
|
||||
|
||||
foreach ($uris as $uri) {
|
||||
|
||||
$user = User::staticGet('uri', $uri);
|
||||
|
||||
if (!empty($user)) {
|
||||
if ($user->hasBlocked($sender)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$reply = new Reply();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user