Fix Direct Message functionality.

This commit is contained in:
Mikael Nordfeldth
2014-04-29 20:37:58 +02:00
parent 7d191f8062
commit 34b570352f
5 changed files with 36 additions and 18 deletions

View File

@@ -142,7 +142,7 @@ class User extends Managed_DataObject
return $this->getProfile()->isSubscribed($other);
}
function hasPendingSubscription($other)
function hasPendingSubscription(Profile $other)
{
return $this->getProfile()->hasPendingSubscription($other);
}
@@ -440,7 +440,7 @@ class User extends Managed_DataObject
return $this->getProfile()->hasFave($notice);
}
function mutuallySubscribed($other)
function mutuallySubscribed(Profile $other)
{
return $this->getProfile()->mutuallySubscribed($other);
}