mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-23 11:39:19 -05:00
refactor: require whitespace before statements
This commit is contained in:
@@ -121,6 +121,7 @@ class ChatRepository
|
||||
public function botMessage($botId, $roomId, $message, $receiver = null): void
|
||||
{
|
||||
$user = $this->user->find($receiver);
|
||||
|
||||
if ($user->censor) {
|
||||
$message = $this->censorMessage($message);
|
||||
}
|
||||
@@ -315,6 +316,7 @@ class ChatRepository
|
||||
public function status($user)
|
||||
{
|
||||
$status = null;
|
||||
|
||||
if ($user instanceof User) {
|
||||
$status = $this->chatStatus->where('user_id', '=', $user->id)->first();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user