1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 12:00:06 +02:00

Update socket script

This commit is contained in:
DanieL 2022-12-14 09:29:43 -03:00
parent 8820b99495
commit 4ca00500b7

View file

@ -232,7 +232,7 @@ class Message implements MessageComponentInterface {
}
private function shouldPropagateInfo($row) {
if (preg_match('/^unknowDevice.*/', $row['yptDeviceId'])) {
if (!empty($row['yptDeviceId']) && preg_match('/^unknowDevice.*/', $row['yptDeviceId'])) {
return false;
}
if (!empty($row['isCommandLine'])) {