$channel = Channel::firstWhere('twitch_chat', '=', $cname);
if (!is_null($channel)) {
$this->channel()->associate($channel);
- if (now()->sub(5, 'minute')->isBefore($this->created_at)) {
+ if (empty($this->twitch_category) && now()->sub(15, 'minute')->isBefore($this->created_at)) {
$this->twitch_category = $channel->twitch_category;
}
}