From 3b3863f030d704de3ad8918f8eaa75fe87f118ad Mon Sep 17 00:00:00 2001 From: Peter Deltchev Date: Wed, 1 Jun 2016 20:12:56 -0700 Subject: [PATCH] #25: Notification texts are simple plaintext for now. --- app/Models/Activity.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Models/Activity.php b/app/Models/Activity.php index 858ee1e2..fdb91215 100644 --- a/app/Models/Activity.php +++ b/app/Models/Activity.php @@ -177,10 +177,10 @@ class Activity extends Model { throw new \InvalidArgumentException('This type of activity has not been implemented yet!'); case static::TYPE_PUBLISHED_TRACK: - return "{$this->resource->user->display_name} published a new track, __{$this->resource->title}__!"; + return "{$this->resource->user->display_name} published a new track, {$this->resource->title}!"; case static::TYPE_PUBLISHED_PLAYLIST: - return "{$this->resource->user->display_name} published a new playlist, __{$this->resource->title}__!"; + return "{$this->resource->user->display_name} published a new playlist, {$this->resource->title}!"; case static::TYPE_NEW_FOLLOWER: return "{$this->initiatingUser->display_name} is now following you!"; @@ -192,7 +192,7 @@ class Activity extends Model { // Must be a content comment. } else { - return "{$this->initiatingUser->display_name} left a comment on your {$this->resource->resource->getResourceType()}, __{$this->resource->resource->title}__!"; + return "{$this->initiatingUser->display_name} left a comment on your {$this->resource->resource->getResourceType()}, {$this->resource->resource->title}!"; } case static::TYPE_CONTENT_FAVOURITED: