mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-02 16:29:49 -05:00
@@ -45,30 +45,30 @@ class NewComment extends Notification
|
||||
if ($this->comment->anon == 0) {
|
||||
return [
|
||||
'title' => 'New Torrent Comment Received',
|
||||
'body' => $this->comment->user->username.' has left you a comment on Torrent '.$this->comment->torrent->name,
|
||||
'url' => '/torrents/'.$this->comment->torrent->id,
|
||||
'body' => $this->comment->user->username.' has left you a comment on Torrent '.$this->comment->torrent->name,
|
||||
'url' => '/torrents/'.$this->comment->torrent->id,
|
||||
];
|
||||
}
|
||||
|
||||
return [
|
||||
'title' => 'New Torrent Comment Received',
|
||||
'body' => 'Anonymous has left you a comment on Torrent '.$this->comment->torrent->name,
|
||||
'url' => '/torrents/'.$this->comment->torrent->id,
|
||||
'body' => 'Anonymous has left you a comment on Torrent '.$this->comment->torrent->name,
|
||||
'url' => '/torrents/'.$this->comment->torrent->id,
|
||||
];
|
||||
}
|
||||
|
||||
if ($this->comment->anon == 0) {
|
||||
return [
|
||||
'title' => 'New Request Comment Received',
|
||||
'body' => $this->comment->user->username.' has left you a comment on Torrent Request '.$this->comment->request->name,
|
||||
'url' => '/requests/'.$this->comment->request->id,
|
||||
'body' => $this->comment->user->username.' has left you a comment on Torrent Request '.$this->comment->request->name,
|
||||
'url' => '/requests/'.$this->comment->request->id,
|
||||
];
|
||||
}
|
||||
|
||||
return [
|
||||
'title' => 'New Request Comment Received',
|
||||
'body' => 'Anonymous has left you a comment on Torrent Request '.$this->comment->request->name,
|
||||
'url' => '/requests/'.$this->comment->request->id,
|
||||
'body' => 'Anonymous has left you a comment on Torrent Request '.$this->comment->request->name,
|
||||
'url' => '/requests/'.$this->comment->request->id,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user