diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 82ff401..729bd37 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -2,6 +2,8 @@ ## master +- Fix re-subscription attempt to include history request. + ## 0.7.4 - Add PONGs support to the extended protocol and allow passing protocol options via `protocolOptions`. diff --git a/packages/core/action_cable/index.js b/packages/core/action_cable/index.js index 4b96820..3727834 100644 --- a/packages/core/action_cable/index.js +++ b/packages/core/action_cable/index.js @@ -86,10 +86,7 @@ export class ActionCableProtocol { identifier ) - this.cable.send({ - command: 'subscribe', - identifier - }) + this.cable.send(this.buildSubscribeRequest(identifier)) this.maybeExpireSubscribe(id, identifier, retryInterval) }, retryInterval)