Skip to content

Commit 1d9bc7e

Browse files
committed
support for whisper method on private channels
1 parent 623bd50 commit 1d9bc7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ class PrivateChannel extends Channel {
5656
notify (notifiable) {
5757
this.notificationFn(notifiable)
5858
}
59+
60+
whisper(eventName, event) {
61+
this.userWhisper(eventName, event);
62+
}
5963
}
6064

6165
class PresenceChannel extends PrivateChannel {

0 commit comments

Comments
 (0)