protected function hideUser($discussion) { return $this->hasOne($discussion, 'Flarum\\Api\\Serializer\\UserSerializer'); }