You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
because $options->eligible is stdClass and not an array, eligible property is not set and messages are then broadcasted to everyone.
I think it's bug. How that can be fixed? If you give me some details please I can submit a PR.
Thank you!
The text was updated successfully, but these errors were encountered:
$this->sessions[$userPublicToken] is array of session ids. Weird is that sometimes its working fine, but when i am refreshing pages it goes wrong as I described above.
Hello, I am using eligible option when I am publishing messages. Here https://github.com/voryx/Thruway/blob/master/src/Transport/InternalClientTransportProvider.php#L49 is all message converted to
stdClass
byjson_decode(json_encode($msg))
and when is message recreated here https://github.com/voryx/ThruwayCommon/blob/master/src/Message/PublishMessage.php#L159, there is a problem with this conditionbecause
$options->eligible
isstdClass
and not an array, eligible property is not set and messages are then broadcasted to everyone.I think it's bug. How that can be fixed? If you give me some details please I can submit a PR.
Thank you!
The text was updated successfully, but these errors were encountered: