#25: Profile comment notifications hotfix.

This commit is contained in:
Peter Deltchev 2016-12-23 07:31:06 -08:00
parent c2dbfd792c
commit 7e4faa0454

View file

@ -221,11 +221,7 @@ class Activity extends Model
{
switch($this->activity_type) {
case static::TYPE_NEW_COMMENT:
if ($this->isProfileComment()) {
return $this->resource->getResourceType();
} else {
return $this->resource->resource->getResourceType();
}
return $this->resource->resource->getResourceType();
case static::TYPE_CONTENT_FAVOURITED:
return $this->resource->getResourceType();
}