mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-21 20:48:00 +01:00
#25: Profile comment notifications hotfix.
This commit is contained in:
parent
c2dbfd792c
commit
7e4faa0454
1 changed files with 1 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue