Skip to content

Commit

Permalink
Caller improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
DanieL authored and DanieL committed May 2, 2022
1 parent 400f94f commit 922ea95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/CustomizeUser/CustomizeUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static function getCallerButton($users_id, $class=''){

public static function isChannelCallEnabled() {
$obj = AVideoPlugin::getDataObjectIfEnabled('CustomizeUser');
if (empty($obj->enableChannelCalls)) {
if (!empty($obj->enableChannelCalls)) {
$objSocket = AVideoPlugin::getDataObjectIfEnabled('YPTSocket');
return $objSocket->enableCalls;
}
Expand Down

0 comments on commit 922ea95

Please sign in to comment.