We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cd9f2c commit 35fd37cCopy full SHA for 35fd37c
src/controllers/realtime/room.js
@@ -71,7 +71,7 @@ class Room {
71
}
72
73
_channelListener (data) {
74
- const fromSelf = data.volatile !== undefined && data.volatile.sdkInstanceId === this.kuzzle.network.id;
+ const fromSelf = data.volatile && data.volatile.sdkInstanceId === this.kuzzle.network.id;
75
if (this.subscribeToSelf || !fromSelf) {
76
this.callback(data);
77
0 commit comments