Club System
This commit is contained in:
@@ -21,6 +21,9 @@ class XfUsernameLink extends Component
|
||||
|
||||
if( $this->user === null && $this->userId !== null ){
|
||||
$this->user = app(XenforoService::class)->getXfUser($this->userId);
|
||||
if( $this->user === null ){
|
||||
$this->user = app(XenforoService::class)->getXfUser(config('xenforo.bot_user_id'));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user