mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Fixed favouriting notification texts.
This commit is contained in:
parent
11e5bb0384
commit
d19e986a3e
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ class Activity extends Model {
|
||||||
}
|
}
|
||||||
|
|
||||||
case static::TYPE_CONTENT_FAVOURITED:
|
case static::TYPE_CONTENT_FAVOURITED:
|
||||||
return "{$this->initiatingUser->display_name} favourited your {$this->resource->type}, __{$this->resource->title}__!";
|
return "{$this->initiatingUser->display_name} favourited your {$this->resource->getResourceType()}, {$this->resource->title}!";
|
||||||
|
|
||||||
default:
|
default:
|
||||||
throw new \Exception('This activity\'s activity type is unknown!');
|
throw new \Exception('This activity\'s activity type is unknown!');
|
||||||
|
|
Loading…
Reference in a new issue