Skip to content

Commit

Permalink
handle channel from pub, still need proto update
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Jun 12, 2024
1 parent a5384ce commit a48e5ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/centrifuge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1695,6 +1695,9 @@ export class Centrifuge extends (EventEmitter as new () => TypedEventEmitter<Cli
channel: channel,
data: pub.data
};
if (pub.channel) {
ctx.channel = pub.channel;
}
if (pub.offset) {
ctx.offset = pub.offset;
}
Expand Down

0 comments on commit a48e5ad

Please sign in to comment.