ably-forks / laravel-echo

Laravel Echo library for beautiful Pusher and Ably integration.
https://laravel.com/docs/broadcasting#client-side-installation
MIT License
12 stars 4 forks source link

Fix PresenceChannel->here method format #15

Closed sacOO7 closed 1 year ago

sacOO7 commented 1 year ago

Current format

[
    {
        "clientId": "1",
        "action": 1,
        "data": {
            "id": 1,
            "name": "John Doe"
        },
        "encoding": null
    }
]

Supposed to be

[
    {
            "id": 1,
            "name": "John Doe"
    }
]
sync-by-unito[bot] commented 1 year ago

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3100

sacOO7 commented 1 year ago

This is mainly to avoid possible bugs (missing/irregular key-value positions in a js object) who are migrating from pusher/pusher-compatible broadcasters