Update UserObserver, fix type casting

This commit is contained in:
Daniel Supernault 2024-03-13 23:36:26 -06:00
parent 911446c03e
commit 949e99798e
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -107,7 +107,7 @@ class UserObserver
CreateAvatar::dispatch($profile); CreateAvatar::dispatch($profile);
}); });
if(config_cache('account.autofollow') == true) { if((bool) config_cache('account.autofollow') == true) {
$names = config_cache('account.autofollow_usernames'); $names = config_cache('account.autofollow_usernames');
$names = explode(',', $names); $names = explode(',', $names);